怎么运行py文件——百度知道

>>> import os
>>> os.system("python D:qwe.py")
1

 必须是os 别的都不行

原文地址:https://www.cnblogs.com/hhj187/p/4633043.html