Manager for acquiring and closing a file object.
Use FileManager subclasses (CachingFileManager in particular) on backend storage classes to automatically handle issues related to keeping track of many open files and transferring them between multiple processes.
__init__(self, /, *args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.
__init__(self, /, \*args, \*\*kwargs)
Acquire the file object from this manager.
Context manager for acquiring a file.
Close the file object associated with this manager, if needed.