33

Development Environments

You can download and install the current version of Python from python.org in just a few seconds. Python installation includes IDLE, Python’s Integrated Development and Learning Environment, which of course honors Monty Python performer Eric Idle.

IDLE

IDLE is an interactive window where you can type Python statements and see what they do. If you type a variable name by itself, IDLE displays its current value.

You can also create fully functional programs by opening a new edit window with File | New and then typing a complete program into it.

Then you can run the program by pressing F5 or by selecting Run | Run Module. The result appears in the shell window you started with.

IDLE asks you where to save the code before ...

Get Python Programming with Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.