@JohnSUN:yes , more exactly:
desk_from_Path = Path().home() / 'Desktop'
desk_from_ospath = os.path.expanduser('~/Desktop')
print(str(desk_from_Path) == desk_from_ospath)
> True
print( desk_from_Path.exists() )
> False #because no 'Desktopfolder' here
print( os.path.exists(desk_from_ospath)
> False
Path() returns Path_objects with also an String-representation
os.path.expanduser(’~/Desktop’) returns String only
Of course there is the Documentation
edit: one more funny Method:
print( desk_from_Path.with_name( 'Schreibtisch' ).exists() )
> True
# because here is a *Schreibtisch* instead a *Desktop* …-folder.