Path.samefile#

Path.samefile(other_path)#

Return whether other_path is the same or not as this file (as returned by os.path.samefile()).