For samples in this article series, you'll need a latest Python version installed on your machine. If you have it already, you can skip this section.
Whether on Windows, Linux, or macOS, installing Python is a breeze. To start with, visit the official
Python download page. Under the 'Download the latest source release' header on this page, find and click a link to the Python download page for your operating system.
For Windows, download the Windows x86–64 executable installer for the latest stable release, and run the installer. In the dialog, just click Install Now to complete the installation on your machine. That is it.
As to Linux, many distributions come with Python already installed in the system. However, you may still need to install the latest version. One clear way to do this is with the help of the source code for the latest release, which you can find at the
Python download source page. Below are the steps to install Python on your Linux system, using the source code: