方法一:
使用subprocess库
import subprocess
import os
main = "..\\labelme_json_to_dataset.exe"
json_path="..\\pic3\\123.json"
if os.path.exists(main):
P=subprocess.Popen(main+' '+json_path
方法一:
使用subprocess库
import subprocess
import os
main = "..\\labelme_json_to_dataset.exe"
json_path="..\\pic3\\123.json"
if os.path.exists(main):
P=subprocess.Popen(main+' '+json_path