code: def abspath(path):
      """Return an absolute path."""
      path = os.fspath(path)
      if not isabs(path):
          if isinstance(path, bytes):
              cwd = os.getcwdb()
          else:
              cwd = os.getcwd()
          path = join(cwd, path)
      return normpath(path)
  
imports: import os
  import sys
  import stat
  import genericpath
  from genericpath import *
label_desc: Use image node_id 15 for calling a global function with example usage: abspath(path) and returns: normpath