code: def iterate_dir(path):
      for p in Path(path).iterdir():
          if p.is_dir():
              yield from iterate_dir(p)
              continue
          yield p
  
imports: import hashlib
  import shutil
  import sys
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: iterate_dir(path) without return types