import os
os.system("python D:\hello1.py")
os.system("python D:\hello2.py")
os.system("python D:\hello3.py")
(python D:\hello1.py)内容为CMD运行的内容
然后在CMD上运行上面的py. 这样就不要一个COPY一个到CMD逐一运行以上三个程序了。
import os
os.system("python D:\hello1.py")
os.system("python D:\hello2.py")
os.system("python D:\hello3.py")
(python D:\hello1.py)内容为CMD运行的内容
然后在CMD上运行上面的py. 这样就不要一个COPY一个到CMD逐一运行以上三个程序了。