def _construct_tree(path):
    if not op.exists(path):
        try:
            os.makedirs(op.dirname(path))
        except __HOLE__:
            pass
dataset/ETHPy150Open rossant/ipymd/ipymd/core/scripts.py/_construct_tree