在开始菜单中可以看到“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

相关文章:

  • 2021-06-23
  • 2022-01-11
  • 2022-12-23
  • 2021-12-06
  • 2021-12-06
  • 2021-12-02
猜你喜欢
  • 2021-06-25
  • 2021-08-14
  • 2021-09-27
  • 2021-12-06
  • 2021-09-16
  • 2021-10-31
  • 2021-12-26
相关资源
相似解决方案