code: def mkdirp(d):
      """Ensure directory d exists (like mkdir -p on Unix)
      No guarantee that the directory is writable.
      """
      try:
          os.makedirs(d)
      except OSError as e:
          if e.errno != errno.EEXIST:
              raise
  
file_path: mlens/mlens/externals/joblib/disk.py
imports: import errno
  import os
  import shutil
  import sys
  import time
label_desc: Use image node_id 3 for calling a global function with example usage: mkdirp(d) without return types