求问,python如何调用bat

就是如何使用python代码调用bat,谢谢

99 views
Comments
登录后评论
Sign In
·
import subprocess
subprocess.call([r'C:\Users\ABC\Desktop\hello_world.bat'])