from pathlib import Path current_dir = Path(__file__).parent TEMP_DIR = current_dir / 'temp' message_dict = {}