open#
- open_(filename: str | PathLike | PurePath, mode='rt', **kwargs) IO #
open that handles different compression
- Parameters:
- filename
path or url, if a url delegates processing to open_url
- mode
standard file opening mode
- kwargs
passed to open functions
- Returns:
- an object compatible with the file protocol