code: def mk_file(file_path: str):
      if os.path.exists(file_path):
          # 如果文件夹存在，则先删除原文件夹在重新创建
          rmtree(file_path)
      os.makedirs(file_path)
  
imports: import os
  from shutil import copy, rmtree
  import random
label_desc: Use image node_id 1 for calling a global function with example usage: mk_file(file_path) without return types