from pathlib import Path base = Path(__file__).parent.parent templates = base / 'templates'