parameters: (paths, exe_basename)
return_statement: return None
docstring: Returns the full exe path for the first path match.
  
      @params paths the list of directories to search for the exe_basename
      executable
      @params exe_basename the name of the file for which to search.
      e.g. "swig" or "swig.exe".
  
      @return the full path to the executable if found in one of the
      given paths; otherwise, returns None.
docstring_summary: Returns the full exe path for the first path match.
docstring_tokens: Returns the full exe path for the first path match .
function: def _find_file_in_paths(paths, exe_basename):
      """Returns the full exe path for the first path match.
  
      @params paths the list of directories to search for the exe_basename
      executable
      @params exe_basename the name of the file for which to search.
      e.g. "swig" or "swig.exe".
  
      @return the full path to the executable if found in one of the
      given paths; otherwise, returns None.
      """
      for path in paths:
          trial_exe_path = os.path.join(path, exe_basename)
          if os.path.exists(trial_exe_path):
              return os.path.normcase(trial_exe_path)
      return None
function_tokens: def _find_file_in_paths ( paths , exe_basename ) : for path in paths : trial_exe_path = os . path . join ( path , exe_basename ) if os . path . exists ( trial_exe_path ) : return os . path . normcase ( trial_exe_path ) return None