code: def find_py_files(subdir):
      for root, dirs, files in os.walk(subdir):
          for f in files:
              if f.endswith(".py"):
                  yield os.path.join(root, f)
  
file_path: gensim/docs/src/tools/check_gallery.py
imports: import argparse
  import os
  import os.path
  import re
  import sys
  import shlex
  import subprocess
label_desc: Use image node_id 5 for calling a global function with example usage: find_py_files(subdir) without return types