code: def fullpath(relpath):
      '''Relative path to absolute'''
      if (type(relpath) is object or type(relpath) is file):
          relpath = relpath.name
      return os.path.abspath(os.path.expanduser(relpath)f fullpath(relpath):
      '''Relative path to absolute'''
      if (type(relpath) is object or type(relpath) is file):
          relpath = relpath.name
      return os.path.abspath(os.path.expanduser(relpath))
docs: Relative path to absolute