@classmethod
def expanduser(cls):
    """ Return a new path with expanded ~ and ~user constructs
        (as returned by os.path.expanduser)
        """
return cls(os.path.expanduser('~'))
Getting Home Directory with pathlib