from pathlib import Path WORK_DIR = Path(__file__).parent.parent.absolute() OUTPUT_DIR = WORK_DIR / "output" CONFIG_DIR = WORK_DIR / "mylib" / "conf"