import pathlib file_path = pathlib.Path(__file__) ROOT_DIR = file_path.parent