cmd中运行py文件方法 在cmd中输入: C:\Users\17843\Jyputer notebook file\word-pdf>python file.py 回车运行即可。 注意:必须先输入python加空格