bundles / astropy latest / astropy / utils / data / get_file_contents
function
astropy.utils.data:get_file_contents
source: /astropy/utils/data.py:503
Signature
def get_file_contents(*args, **kwargs)Summary
Retrieves the contents of a filename or file-like object.
Extended Summary
See the get_readable_fileobj docstring for details on parameters.
Returns
: objectThe content of the file (as requested by
encoding).
Aliases
astropy.utils.data.get_file_contents