更新时间:2022-12-09 11:14:59
你可以试试这个,看看你是否得到了Output2"
You could try this so see if you get the "Output2"
task = subprocess.Popen(["python", "test2.py"], stdout=subprocess.PIPE)
print task.communicate()
如果这样做,请将其发送到文本框:)
If you do, send it to the textbox :)