_FileIOBase.extensions

Contents

_FileIOBase.extensions#

property _FileIOBase.extensions: tuple[str, ...][source]#

Return the file extensions associated with this class.

These extensions are used by read() and save to determine which reader and/or writer is used for reading and/or saving files.

Returns:
tuple[str, …]

File extensions associated with this class.