code: def make_docs_directory(output_dir, name):
      if not isdir(pjoin(output_dir, name)):
          subprocess.run(
              ["mkdir", pjoin(output_dir, name)], stdout=subprocess.PIPE
          )
      for i in range(10):
          if not isdir(pjoin(output_dir, name, str(i))):
              subprocess.run(
                  ["mkdir", pjoin(output_dir, name, str(i))],
                  stdout=subprocess.PIPE,
              )
  
file_path: ParlAI/parlai/tasks/eli5/data_creation/download_support_docs.py
imports: import json
  import subprocess
  from os.path import join
  from os.path import isfile
  from os.path import isdir
  from time import time
  from parlai.core.params import ParlaiParser
  from data_utils import word_url_tokenize, make_ccid_filter
  from parlai.utils.io import PathManager
label_desc: Use image node_id 1 for calling a global function with example usage: make_docs_directory(output_dir, name) without return types