psi4.driver.ancestor

psi4.driver.ancestor(dir, n=1)[source]

Get the nth ancestor of a directory.