code: def cnormpath (path):
      
      path = normpath(path)
      if os.name == 'nt':
          # replace slashes with backslashes
          path = path.replace("/", "\\")
      if not os.path.isabs(path):
          path = normpath(os.path.join(sys.prefix, path))
      return path
docs: Norm a path name to platform specific notation and make it absolute.