code: def same_path(p1: _Path, p2: _Path) -> bool:
      """Differs from os.path.samefile because it does not require paths to exist.
      Purely string based (no comparison between i-nodes).
      >>> same_path("a/b", "./a/b")
      True
      >>> same_path("a/b", "a/./b")
      True
      >>> same_path("a/b", "././a/b")
      True
      >>> same_path("a/b", "./a/b/c/..")
      True
      >>> same_path("a/b", "../a/b/c")
      False
      >>> same_path("a", "a/b")
      False
      """
      return normpath(p1) == normpath(p2)
  
imports: import os
  import sys
  from typing import Union
label_desc: Use image node_id 2 for calling a global function with example usage: same_path(p1, p2) and returns: unknown