在Python中,你可以通过导入 os 模块使用它的 system() 方法来运行另一个Python程序。 ... main.run() # 假设main.py中有一个run函数是你的主程序.
確定! 回上一頁