在cmd下运行python脚本

1.打开cmd

2.cd  /d  E:\  (脚本所在的盘)

3.cd 脚步路径

4.python xx.py


 必须按照上面的三步来,否则出错


想用加入环境变量的方法,但是不行。。。。。

用他的第二种方法失败了。https://blog.csdn.net/field_yang/article/details/50905587

猜你喜欢

转载自blog.csdn.net/qq_37791134/article/details/79922235
今日推荐