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

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.

主站蜘蛛池模板: 绥化市| 玉环县| 全椒县| 青田县| 永靖县| 桐乡市| 建始县| 安化县| 广水市| 乐都县| 南平市| 出国| 巴林左旗| 石阡县| 古田县| 额尔古纳市| 阳春市| 青铜峡市| 松江区| 托里县| 博爱县| 上杭县| 楚雄市| 磐石市| 招远市| 莫力| 三明市| 文山县| 济南市| 安化县| 南雄市| 寻乌县| 祁连县| 大港区| 石柱| 湟源县| 黄浦区| 阿拉善左旗| 延安市| 沛县| 泽库县|