code: def makedirs(path):
      """Create directory recursively if not exists.
      Similar to `makedir -p`, you can skip checking existence before this function.
  
      Parameters
      ----------
      path : str
          Path of the desired dir
      """
      try:
          os.makedirs(path)
      except OSError as exc:
          if exc.errno != errno.EEXIST:
              raise
  
file_path: insightface/python-package/insightface/utils/filesystem.py
imports: import os
  import os.path
  import errno
label_desc: Use image node_id 2 for calling a global function with example usage: makedirs(path) without return types