code: def create_data_dir(path):
      if not os.path.isdir(path):
          os.makedirs(path)
  
imports: import os
  import requests
label_desc: Use image node_id 2 for calling a global function with example usage: create_data_dir(path) without return types