import os from pathlib import Path CONFIG_DIR = Path.cwd() / 'config' os.makedirs(CONFIG_DIR, exist_ok=True)