Some useful File Opperations
luxon.utils.files.
Open
(file, mode='r', buffering=-1, encoding=None, errors=None, newline=None, closefd=True, opener=None, perms=600)[source]¶Open File
Opens a given file and performs actions on the file object. A number of default options can be specified as keyword arguments when spawning the file object.
Options such as:
- buffering
- encoding
- errors
- newline
- closefd
- opener
Parameters: | file (file) – file to be opened |
---|