code: def rm_dir(path):
      path = Path(path)
      if os.path.exists(path):
          print(f"Deleting directory : {path}")
          shutil.rmtree(path)
  
file_path: serve/ts_scripts/shell_utils.py
imports: import requests
  import os
  import shutil
  import glob
  from pathlib import Path
label_desc: Use image node_id 3 for calling a global function with example usage: rm_dir(path) without return types