def mkdir(path, raise_if_already_exists=False):
    """Recursive mkdir. If dir already exists
    only raise if raise_if_already_exists"""
    try:
        os.makedirs(path)
    except __HOLE__ as err:
        if err.errno == EEXIST and not raise_if_already_exists:
            return
        raise
dataset/ETHPy150Open conan-io/conan/conans/util/files.py/mkdir