Appendix B. Installing Python on other operating systems

 

This appendix walks you through downloading, installing, and testing Python on operating systems other than Windows, such as macOS, or Linux, or Chromebook.

Python is a free programming language. This means that you can use Python for free to create, edit, and share your programs. Python is popular because you can use it to write programs for many different applications and purposes. However, its real strength lies in the simplicity of using the code compared to other languages. You can learn more about Python in appendix D.

To code with Python, you need an integrated development environment (IDE). An IDE is an interface that you can use to write programs, test them, and run them on your computer. The Python installation includes its own IDE, called IDLE, which is pronounced idol.

There are other IDEs available although these alternatives may not run on all operating systems. This book is written using the standard IDE that comes with Python, which means that if you are searching for your own instructions or videos, you should search for:

How to install python idle on x

Replacing the x with your operating system, for example:

How to install python idle on Linux Ubuntu

This will ensure that the guizero program will work correctly and you can build the projects in each of the chapters.

Getting Python

Downloading Python

Installing Python on macOS

Installing Python on Linux

Installing Python on Chromebook

Other versions

Testing your installation of Python