Python absolutna ścieżka z Projectr

ROOT_DIR = os.path.dirname(os.path.abspath("top_level_file.txt"))
Agreeable Anaconda