Page 37 - Python Basics: A Practical Introduction to Python 3
P. 37
2.3. macOS
When the installer is finished copying files, click Close to close the
installer window.
Open IDLE
You can open IDLE in three steps:
1. Open Finder and click Applications.
2. Double-click the Python 3.9 folder.
3. Double-click the IDLE icon.
IDLE opens a Python shell in a new window. The Python shell is an
interactive environment that allows you to type in Python code and
execute it immediately. It’s a great way to get started with Python!
Note
While you’re free to use a code editor other than IDLE if you
prefer, note that some chapters, especially chapter 7, “Finding
and Fixing Code Bugs,” do contain material specific to IDLE.
The Python shell window looks like this:
36