def parent_dir(path):
    return os.path.abspath(os.path.join(path, os.pardir))
Return the parent of a directory.
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/settings/defaults.py/parent_dir