配置编辑器geany

安装geany编辑器后,“文件”-“另存为”-

“生成”-“设置生成命令”-

Compile:C:\Python37\python -m py_compile "%f"

Execute:C:\Python37\python "%f"

确定。

写入:

print("Hello World!")

 按F5执行,结果如下:

 

posted on 2019-01-10 15:21  winecork  阅读(423)  评论(0编辑  收藏  举报

导航