
上QQ阅读APP看书,第一时间看更新
1.4 Python自带的开发工具IDLE
IDLE(Python GUI)是在Windows内运行的Python 3.6解释器(包括调试功能)。单击“开始”按钮,在弹出的菜单中选择“所有程序”→IDLE(Python 3.6 32-bit)命令,如图1-7所示。用户也可以在搜索框中直接输入IDLE快速查找。

图1-7 启动IDLE
启动Python 3.6.4 Shell窗口,用户可以在该窗口中直接输入Python命令,并按Enter键运行,例如输入“print("感受Python的精彩世界")”,运行结果如图1-8所示。

图1-8 Python 3.6.4 Shell窗口