Path.
home
Get the home path of the current path representation.
the home path
>>> Path("/home/doe/folder/sub").home Path("home")