Skip to content

constants¤

Constants used by msl-io.

MSL_IO_DIR module-attribute ¤

MSL_IO_DIR = Path(os.getenv('MSL_IO_DIR', USER_DIR / '.msl' / 'io'))

Path — The default directory where all files that are used by msl-io are located.

Can be overwritten by specifying an MSL_IO_DIR environment variable.

USER_DIR module-attribute ¤

USER_DIR = Path('~' + os.getenv('SUDO_USER', '')).expanduser()

Path — The user's home directory.