Appendix AInstalling Python

To follow along with the program examples in the first nine hours of this tutorial, you need to have Python on your computer. There are several options for using Python, regardless of whether you use Windows, macOS, or Linux. You can either enter your code in a text editor and run the programs at the command line or you can install an integrated development environment (IDE) for the editing and running of your code. Ultimately, it is your preference, but there are advantages to using an IDE in terms of better debugging support: If you make an error in your code, you will often get better clues as to what went wrong with an IDE.

If you choose an IDE, you can either select a Python-specific IDE, like Jupyter Notebook ...

Get Sams Teach Yourself Beginning Programming in 24 Hours, 4th Edition 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.