augur.io.file module
- augur.io.file.open_file(path_or_buffer, mode='r', **kwargs)
Opens a given file path and returns the handle.
Transparently handles compressed inputs and outputs.
- Parameters:
path_or_buffer – Name of the file to open or an existing IO buffer
mode (str) – Mode to open file (read or write)
- Returns:
File handle object
- Return type:
IO