官术网_书友最值得收藏!

IDLE's interactive tool

Let's write our first example using IDLE's interactive tool:

  1. Launch the IDLE3 (meant for Python 3.x) tool from the Raspberry Pi Zero's desktop by double-clicking on it.
  2. From the IDLE's interactive command-line tool, type the following line:
       print("I am excited to learn Python with the Raspberry Pi Zero")
  1. This should print the following to the interactive command-line tool's screen:

We did it! We wrote a single line that prints out a line of text to the Raspberry Pi's screen.

主站蜘蛛池模板: 宣威市| 武功县| 敖汉旗| 开江县| 东方市| 景洪市| 固原市| 清水县| 青浦区| 长乐市| 孝昌县| 钦州市| 辽源市| 缙云县| 化德县| 东乌| 安仁县| 永年县| 青海省| 拉孜县| 河西区| 施秉县| 自治县| 河南省| 双辽市| 西平县| 孟村| 嘉定区| 濮阳县| 咸宁市| 临桂县| 高雄县| 双辽市| 晋州市| 涿鹿县| 新蔡县| 长葛市| 登封市| 平陆县| 泽州县| 葫芦岛市|