original_docstring:  Find file with extension in path
          @param path Root path of the project
          @param fileext File extension to find
          @return File name
      
docstring: Find file with extension in path
  @param path Root path of the project
  @param fileext File extension to find
  @return File name
docstring_tokens: Find file with extension in path @param path Root path of the project @param fileext File extension to find @return File name
code: def find_file(path, fileext):
      """ Find file with extension in path
          @param path Root path of the project
          @param fileext File extension to find
          @return File name
      """
  
      files = listfiles(path)
      files = tuple(files)
      for file in files:
          if file.name.endswith(fileext):
              return file.path
      raise FileNotFoundError
code_tokens: def find_file ( path , fileext ) : files = listfiles ( path ) files = tuple ( files ) for file in files : if file . name . endswith ( fileext ) : return file . path raise FileNotFoundError
short_docstring: Find file with extension in path
  @param path Root path of the project
  @param fileext File extension to find
  @return File name
short_docstring_tokens: Find file with extension in path @param path Root path of the project @param fileext File extension to find @return File name
comment: """ Find file with extension in path
          @param path Root path of the project
          @param fileext File extension to find
          @return File name
      """