parameters: (top)
docstring: Recursively find .png files in a folder
docstring_summary: Recursively find .png files in a folder
docstring_tokens: Recursively find . png files in a folder
function: def get_png_entries(top):
      """Recursively find .png files in a folder"""
      for entry in os.scandir(top):
          if entry.is_dir():
              for subentry in get_png_entries(entry.path):
                  yield subentry
          elif entry.name.endswith(".png"):
              yield entry
function_tokens: def get_png_entries ( top ) : for entry in os . scandir ( top ) : if entry . is_dir ( ) : for subentry in get_png_entries ( entry . path ) : yield subentry elif entry . name . endswith ( ".png" ) : yield entry