Using os.path.dirname with __file__ to go up the directory tree