parameters: (fileName, searchPaths)
return_statement: return os.path.abspath(os.path.split(LocateFileName(fileName, searchPaths))[0])
docstring: Like LocateFileName, but returns a directory only.
docstring_summary: Like LocateFileName, but returns a directory only.
docstring_tokens: Like LocateFileName but returns a directory only .
function: def LocatePath(fileName, searchPaths):
      """Like LocateFileName, but returns a directory only."""
      import os
  
      return os.path.abspath(os.path.split(LocateFileName(fileName, searchPaths))[0])
function_tokens: def LocatePath ( fileName , searchPaths ) : import os return os . path . abspath ( os . path . split ( LocateFileName ( fileName , searchPaths ) ) [ 0 ] )