我想运行3个python文件,每个文件都包含Tkinter应用程序。 问题是3个文件位于电脑上的3个不同位置
我成功地将文件放入2个函数中,在调用时运行,但问题是,当我运行脚本时,它会等待第一个Tkinter窗口关闭,然后运行rest应用程序
守则:
def openRegisterApplication():
os.chdir(dirsFolderToChdir['GUI'])
os.system(f'python {expectedRegister_Application}')
def openBackEnd():
os.chdir(dirsFolderToChdir['FaceR'])
os.system(f'python {expectedFaceR_cam_1} & python {expectedGUI_Deshboard}')
Thread(target = openRegisterApplication()).start()
Thread(target = openBackEnd()).start()
目前没有回答
相关问题 更多 >
编程相关推荐