code: def makedirs(path):
      try:
          os.makedirs(osp.expanduser(osp.normpath(path)))
      except OSError as e:
          if e.errno != errno.EEXIST and osp.isdir(path):
              raise e
  
imports: import os
  import os.path
  import errno
label_desc: Use image node_id 1 for calling a global function with example usage: makedirs(path) without return types