tools/python/google/path_utils.py
def FindUpward(start_dir, *desired_list):
  """Returns a path to the desired directory or file, searching upward.

  Searches start_dir and all its parents looking for the desired directory
  or file, which may be given in one or more path components. Returns the full
  path to the desired object, or raises PathNotFound if it wasn't found.
  """
  parent = FindUpwardParent(start_dir, *desired_list)
  return os.path.join(parent, *desired_list)
Returns a path to the desired directory or file, searching upward.

  Searches start_dir and all its parents looking for the desired directory
  or file, which may be given in one or more path components. Returns the full
  path to the desired object, or raises PathNotFound if it wasn't found.
  
Returns a path to the desired directory or file, searching upward.
Searches start_dir and all its parents looking for the desired directory
or file, which may be given in one or more path components. Returns the full
path to the desired object, or raises PathNotFound if it wasn't found.
Returns a path to the desired directory or file searching upward . Searches start_dir and all its parents looking for the desired directory or file which may be given in one or more path components . Returns the full path to the desired object or raises PathNotFound if it wasn ' t found .
def FindUpward(start_dir, *desired_list):
  parent = FindUpwardParent(start_dir, *desired_list)
  return os.path.join(parent, *desired_list)
def FindUpward ( start_dir , * desired_list ) : parent = FindUpwardParent ( start_dir , * desired_list ) return os . path . join ( parent , * desired_list )
Returns a path to the desired directory or file, searching upward.
Returns a path to the desired directory or file searching upward .
"""Returns a path to the desired directory or file, searching upward.

  Searches start_dir and all its parents looking for the desired directory
  or file, which may be given in one or more path components. Returns the full
  path to the desired object, or raises PathNotFound if it wasn't found.
  """
start_dir