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

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.

主站蜘蛛池模板: 河津市| 南木林县| 屏东县| 印江| 逊克县| 塔城市| 揭阳市| 五河县| 名山县| 闻喜县| 呼玛县| 大悟县| 深水埗区| 徐州市| 安丘市| 巨野县| 诸城市| 锦州市| 万荣县| 工布江达县| 定陶县| 平潭县| 柳江县| 泸定县| 定陶县| 泗水县| 和硕县| 洪泽县| 宁安市| 岱山县| 罗江县| 资溪县| 泸州市| 崇礼县| 鹤壁市| 安图县| 平顺县| 普格县| 密山市| 綦江县| 怀仁县|