def make_sure_path_exists(path):
    logging.debug('Make sure {} exists'.format(path))
    try:
        os.makedirs(path)
    except __HOLE__ as e:
        if e.errno != errno.EEXIST:
            return False
    return True
dataset/ETHPy150Open eyadsibai/brute-force-plotter/brute_force_plotter/utils.py/make_sure_path_exists