Setting up to run Python

If you’re using Linux you should already have Python installed, though it may be an older version. You can also download binaries for Linux and various operating systems such as Windows and Mac from https://www.python.org/

There are literally dozens of different ways to install Python. For example, if you’re using Ubuntu, rather than directly downloading binaries, you could simply type:

sudo apt-get update 
sudo apt-get install python3

If you’re using Windows or MacOS, you can download the proper installer and run it just like any other installer.

Either way, the important thing is to ensure that you’re using a version of Python 3 so that you can follow along with the code examples. Python 2 is still available, but there are important syntax changes between the two.

To ensure you’re using the right version, type:

python --version

In Python for Mere Mortals we’ll be building an entire RSS application using Python, and you can download the entire book now, rather than waiting for all of it to be posted.


Leave a Reply

Your email address will not be published. Required fields are marked *