Appendix A. Learning Python with REPL in IDLE

A.1 Installing Python on your computer

Before you can execute any Python code on your computer, you have to install Python. This section shows how to get Python up and running on your computer. If you have already installed Python on your computer, please skip this section.

The most straightforward way to get Python is to download it from the official website (https://www.python.org/downloads/). Although there are multiple versions of Python, it’s always a good idea to use the latest version, as it has the most updated application programming interface (API). For this book, all the code was tested with version 3.10. For the most part, the code in the book should run even if you’re using a newer version ...

Get Python How-To 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.