pyctr.common module

exception pyctr.common.PyCTRError[source]

Bases: Exception

Common base class for all PyCTR errors.

pyctr.common.get_fs_file_object(path, fs=None, *, mode='rb')[source]
Parameters:
  • path (FilePathOrObject)

  • fs (FS | None)

  • mode (str)

Return type:

tuple[IO, bool]