python问题——调用cmd命令失效问题

在python环境下,调用os模块,通过os.system()命令,进行操作。例如,os.system('calc')调出计算器

在已经配置好环境变量后,一直提示:'calc'为非内部命令。在path环境变量后加C:\Windows\System32;(注意分号)可以解决了

猜你喜欢

转载自blog.csdn.net/sexgeek/article/details/79051022