
上QQ阅读APP看书,第一时间看更新
IDLE's interactive tool
Let's write our first example using IDLE's interactive tool:
- Launch the IDLE3 (meant for Python 3.x) tool from the Raspberry Pi Zero's desktop by double-clicking on it.
- From the IDLE's interactive command-line tool, type the following line:
print("I am excited to learn Python with the Raspberry Pi Zero")
- 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.