cmd 运行 python

①cmd 进入行命令;

②输入 “python” + “空格”,即 ”python “;将已经写好的脚本文件拖拽到当前光标位置,然后敲回车运行即可。

原文地址:https://www.cnblogs.com/benpao1314/p/9619870.html