parameters: (path, start)
return_statement: return os.path.join(*rel_list)
docstring: Returns a relative path.
  
    Args:
      path: Some path.
      start: A parent of |path|.
  
    Returns:
      A relative path from |start| to |path|.
docstring_summary: Returns a relative path.
docstring_tokens: Returns a relative path .
function: def RelativePath(path, start):
    """Returns a relative path.
  
    Args:
      path: Some path.
      start: A parent of |path|.
  
    Returns:
      A relative path from |start| to |path|.
    """
    path_list = [x for x in os.path.normpath(path).split(os.path.sep) if x]
    start_list = [x for x in os.path.normpath(start).split(os.path.sep) if x]
    i = 0
    for start_item, path_item in zip(start_list, path_list):
      if start_item.lower() != path_item.lower():
        break
      i += 1
    rel_list = [os.path.pardir] * (len(start_list)-i) + path_list[i:]
    if not rel_list:
      return os.path.curdir
    return os.path.join(*rel_list)
function_tokens: def RelativePath ( path , start ) : path_list = [ x for x in os . path . normpath ( path ) . split ( os . path . sep ) if x ] start_list = [ x for x in os . path . normpath ( start ) . split ( os . path . sep ) if x ] i = 0 for start_item , path_item in zip ( start_list , path_list ) : if start_item . lower ( ) != path_item . lower ( ) : break i += 1 rel_list = [ os . path . pardir ] * ( len ( start_list ) - i ) + path_list [ i : ] if not rel_list : return os . path . curdir return os . path . join ( * rel_list )