def make_dirs(dir_path):
    try:
        os.makedirs(dir_path)
    except __HOLE__ as e:
        if e.errno != errno.EEXIST:  # be happy if someone already created the path
            raise
dataset/ETHPy150Open KarlGong/ptest/ptest/utils.py/make_dirs