Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours

(singke) #1

for you, but it can help you accomplish that task.


IDLE is the default Python development environment shell installed on Raspbian, and it is the
environment that this book focuses on. There are dozens of other Python development environment
tools, including the following:


jEdit—www.jedit.org
Komodo IDE—www.activestate.com/komodo-ide/
SPE IDE—pythonide.blogspot.com

The IDLE Development Environment Shell


IDLE stands for Interactive DeveLopment Environment. This development environment provides a
built-in text editor and many features that assist in the creation and testing of Python scripts.


To start up IDLE in the LXDE graphical interface, you just double-click the IDLE 3 icon on the
desktop. You can also find it under the LXDE Programs Menu icon. Figure 3.5 shows the IDLE shell
for Python v3.


FIGURE 3.5 Python v3 IDLE in interactive mode.

The IDLE window’s title bar says Python Shell. Notice that this window uses exactly the same
verbiage as the Python interactive shell. This is because the IDLE environment uses the Python
interactive shell for this development mode, which is called interactive mode.


Did You Know: IDLE Everywhere
One of the great things about learning IDLE is that this development environment is not
just available on Linux. It is also available on Windows and OS X.
Free download pdf