mutapath.Path.home

Path.home[source]

Get the home path of the current path representation.

Returns:the home path
Example:
>>> Path("/home/doe/folder/sub").home
Path("home")