ait.dsn.util.utils module

ait.dsn.util.utils.expand_path(path, relative_to_absolute=True)

Expands path value to replace home-dir (~), environment variables, and optionally, returns an absolute path. When converting relative paths, then the parent directory is presumed to be the AIT_ROOT envVar, or if not set, the current working directory :param path: Path to be expanded :return: Expanded, and possibly absolute, path