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: catboost/contrib/python/scikit-learn/py3/sklearn/datasets/_kddcup99.py
imports: import errno
  import logging
  import os
  from gzip import GzipFile
  from os.path import exists, join
  import joblib
  import numpy
  from ..utils import Bunch, check_random_state
  from ..utils import shuffle
  from ..utils._param_validation import StrOptions, validate_params
  from .None import get_data_home
  from ._base import RemoteFileMetadata, _convert_data_dataframe, _fetch_remote, load_descr
label_desc: Use image node_id 3 for calling a global function with example usage: _mkdirp(d) without return types