from pathlib import Path import os, json class Config: CONF_DIR=os.path.join(os.environ['HOME'],".clusterman/") def __init__(self): Path(self.CONF_DIR).mkdir(parents=True, exist_ok=True) print(self.CONF_DIR)