安装geany编辑器后,“文件”-“另存为”-
“生成”-“设置生成命令”-
Compile:C:\Python37\python -m py_compile "%f"
Execute:C:\Python37\python "%f"
确定。
写入:
print("Hello World!")
按F5执行,结果如下:
leisurelyRD 2019-01-10 15:21 原文
安装geany编辑器后,“文件”-“另存为”-
“生成”-“设置生成命令”-
Compile:C:\Python37\python -m py_compile "%f"
Execute:C:\Python37\python "%f"
确定。
写入:
print("Hello World!")
按F5执行,结果如下: