def mkdir_p(path):
  try:
    os.makedirs(path)
  except __HOLE__ as exc:
    if exc.errno == errno.EEXIST and os.path.isdir(path):
      pass
    else: raise
dataset/ETHPy150Open bchew/dynamodump/dynamodump.py/mkdir_p