Python is an old programming language that has gained new popularity for machine learning. It exists in two versions, Python 2 and Python 3. The tutorial explains how to install both versions on a Mac by downloading them from python.org, running through an interactive installation process, and testing the installation by running sample Python code in the terminal.