def mkdirp(d):
    try:
        os.makedirs(d)
    except OSError as e:
        if e.errno != errno.EEXIST:
            raise


# if a rmtree operation fails in rm_subdirs, wait for this much time (in secs),
# then retry once. if it still fails, raise the exception
Handle the layout initialization for the notebook.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/externals/joblib/disk.py/mkdirp--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/wx/wx_notebook.py/WxNotebook.init_layout