PyDocs

Nav

File and Directory Access

Path.home

pathlib

classmethod of Path · Added in 3.5 (source)
  • Path.home()
Return a new path pointing to expanduser('~').
1 Example
>>> Path.home()
PosixPath('/home/antoine')
from the Python docs
See Also
No see-alsos for pathlib/Path.home
0 Notes
No notes for Path.home