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

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.

主站蜘蛛池模板: 昌江| 阳谷县| 衡南县| 黑河市| 阳新县| 巴青县| 民和| 六安市| 吴旗县| 根河市| 和平区| 平乡县| 凭祥市| 黄梅县| 杨浦区| 福建省| 杨浦区| 五河县| 调兵山市| 肇源县| 苏尼特左旗| 德清县| 大安市| 鄂托克前旗| 铜山县| 花莲市| 喜德县| 策勒县| 万年县| 兴隆县| 南木林县| 白银市| 石首市| 昌平区| 利津县| 清水河县| 元江| 聂拉木县| 应城市| 太原市| 林州市|