PyDocs

Nav

File and Directory Access

PurePath.parent

pathlib

attribute of PurePath (source)
The logical parent of the path.
1 Example
>>> p = PurePosixPath('/a/b/c/d')
>>> p.parent
PurePosixPath('/a/b/c')
from the Python docs
See Also
No see-alsos for pathlib/PurePath.parent
0 Notes
No notes for PurePath.parent