在菜单栏中“建立”~“设置生成命令”
在compile右侧栏中填写(python所在存储路径和 -m py_compile "%f"),如python路径为C:\Python35\python,则填C:\Python35\python -m py_compile "%f"。
在execute右侧栏中填compile中的去掉-m py_compile,如C:\Python35\python "%f"
在菜单栏中“建立”~“设置生成命令”
在compile右侧栏中填写(python所在存储路径和 -m py_compile "%f"),如python路径为C:\Python35\python,则填C:\Python35\python -m py_compile "%f"。
在execute右侧栏中填compile中的去掉-m py_compile,如C:\Python35\python "%f"