{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / convenience / _get_file_mode

function

astropy.io.fits.convenience:_get_file_mode

source: /astropy/io/fits/convenience.py :1162

Signature

def   _get_file_mode ( filename default = readonly )

Summary

Allow file object to already be opened in any of the valid modes and and leave the file in the same state (opened or closed) as when the function was called.

Aliases

  • astropy.io.fits.convenience._get_file_mode