code: def samefile(path1, path2):
      
      if system_os == "Linux" or system_os == "Cygwin":
          return os.path.samefile(path1, path2)
      return (get_canonical_absolute_expanded_path(path1) ==
              get_canonical_absolute_expanded_path(path2))
docs: Test if paths refer to the same file or directory.