在开始菜单中可以看到“Python 2.7”,点击该文件夹下的"IDLE(Python GUI)", 会看到IDLE窗口打开

从0开始学Python--0x02. 启动Python从0开始学Python--0x02. 启动Python


下图是从IDLE启动Python的shell窗口

从0开始学Python--0x02. 启动Python从0开始学Python--0x02. 启动Python


输入指令 print "Hello World!" 并按下回车键,Python会按照指令去打印Hello World!

从0开始学Python--0x02. 启动Python

从0开始学Python--0x02. 启动Python


下图也是在交互模式中使用Python的几条指令

从0开始学Python--0x02. 启动Python

从0开始学Python--0x02. 启动Python

相关文章: