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

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

Compile:C:\Python37\python -m py_compile "%f"
Execute:C:\Python37\python "%f"
确定。
写入:
print("Hello World!")
按F5执行,结果如下:

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

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

Compile:C:\Python37\python -m py_compile "%f"
Execute:C:\Python37\python "%f"
确定。
写入:
print("Hello World!")
按F5执行,结果如下:
