code: def files(curr_dir="./", files="*.py"):
      for i in glob.glob(os.path.join(curr_dir, files)):
          yield i
  
imports: import sys
  import datetime
  import os
  import yaml
  import random
  import shutil
  import six
  import warnings
  import glob
  from utils.util import get_last_dir
label_desc: Use image node_id 5 for calling a global function with example usage: files(curr_dir, files) without return types