This is an archived version of the course. Please see the latest version of the course.

Running Python

Ok, now that you have an overview of the main syntax differences between C++ and Python, it is time to get your hands dirty with the details. Let’s bring Python out on a test drive!

We will use Python 3 exclusively for the Introduction to Machine Learning course. I will assume that you already have Python version 3.8 (or above) installed on your computer.

If you are using a lab computer, then this should already be available.

If you are using your own computer and do not yet have Python installed, please follow the instructions in my Python course materials (I teach the Python Programming module for some MSc students, in case you were wondering). Come back to this page once you have installed Python.

Check your version of Python by typing the following into the command line.

$ python -V
Python 3.8.6