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

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.

主站蜘蛛池模板: 嘉荫县| 喜德县| 简阳市| 嘉祥县| 罗田县| 靖边县| 科尔| 启东市| 东平县| 鞍山市| 厦门市| 浑源县| 无极县| 安康市| 偏关县| 岗巴县| 偃师市| 湟中县| 泰来县| 怀仁县| 喀喇| 谷城县| 汉阴县| 卓资县| 湖州市| 名山县| 河西区| 锡林郭勒盟| 岑溪市| 托克逊县| 台前县| 顺义区| 永德县| 酉阳| 建阳市| 金堂县| 朔州市| 泾川县| 大埔区| 宁夏| 仁化县|