code: def ensure_relative(path):
      """Take the full path 'path', and make it a relative path.
  
      This is useful to make 'path' the second argument to os.path.join().
      """
      drive, path = os.path.splitdrive(path)
      if path[0:1] == os.sep:
          path = drive + path[1:]
      return path
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/_distutils/dir_util.py
imports: import os
  import errno
  from .errors import DistutilsInternalError, DistutilsFileError
  from ._log import log
label_desc: Use image node_id 6 for calling a global function with example usage: ensure_relative(path) and returns: path