def ensure_dir(path):
    try:
        os.makedirs(path)
    except OSError as e:
        if e.errno != errno.EEXIST:
            raise
os.path.makedirs without EEXIST.
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/utils/__init__.py/ensure_dir