Python Cómo obtener la ubicación del proyecto

ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
Delightful Dragonfly