def mkdir_p(path, mode=0o777):
    try:
        os.makedirs(path, mode)
    except __HOLE__ as exc:
        if exc.errno == errno.EEXIST and os.path.isdir(path):
            pass
        else:
            raise
dataset/ETHPy150Open sdispater/orator/orator/utils/__init__.py/mkdir_p