↩ 🔵 🔵 🔵 Primary ၊၊||၊|။Path.home() ⚬|Documentation|1st|20260611132244-00-⌔pathlib — Object-oriented filesystem paths — Python 3.14.6 documentation#pathlib.Path.home method classPath.home() Return a new path object representing the user’s home directory (as returned by os.path.expanduser() with ~ construct). If the home directory can’t be resolved, RuntimeError is raised. >>> Path.home() PosixPath('/home/antoine') Added in version 3.5. Printed 2026-06-28. (echo:: @ ᯤ)Link to original Secondary • • •