批量处理json数据 import os path = r"J:\experient\json" json_file =os.listdir(path) for file in json_file: os.system("D:\source\conda\envs\labelme\Scripts\labelme_json_to_dataset.exe %s" %(path+'/'+file))