Python is a cross-platform programming language that can run on multiple platforms like Windows, macOS, Linux, and can be ported to the Java and .NET virtual machines.

To install the python on the local machine, get the copy of the Python standard distribution software from the Python Software Foundation website at https://www.python.org/downloads based on your operating system, hardware (32-bit or 64-bit) and operating system version of your local machine.

As of writing the tutorial, the Python current version is 3.8.3. However, always check the latest version and install it.

Installation Procedure –

Windows systems are not python preinstalled like other operating systems like linux etc. We need to get it installed and the below are the step by step procedure to install it –

Prerequisites –

  • User should login to the windows as an Administrator or Super user to the local computer.
  • User should have the information about current system operating system and hardware chipset (64-bit or 32-bit).

Step1 - Download the Python 3 Installer

Open the browser an navigate to https://www.python.org/downloads page.

Python installation process on Windows

Click on the “download python 3.X.X” to download the installer directly for Windows.

(OR)

If you want to download the specific version, scroll to down until the tab shown in the below screen shot.

Python installation process on Windows

The above tab contains all the versions from 2.0, navigate to the required version and click on “Download”. It navigates to the below page.

Python installation process on Windows

Below highlighted tab displays the list of different installers for different operating systems. Choose the one which is suitable according to the hardware chipset configuration.

Select either Windows x86-64 executable installer for 64-bit or Windows x86 executable installer for 32-bit. Refer the below note for Windows users.

Python installation process on Windows

For our case, we are downloading “Windows x86-64 executable installer” as per my system requirements.

Python installation process on Windows

Click on the version to start downloading Python.

Step2 – Run the Installer

Once the installer downloaded to the system, run the file by simply double clicking on it. The below dialog gets appeared.

Python installation process on Windows

Important! Check the box with "Add Python 3.x to PATH" to place the interpreter in your execution path.

Click on “Install Now” highlighted in the below dialog to proceed with installation.

Python installation process on Windows

Python starts installing shown below in the Python installation wizard.

Python installation process on Windows Python installation process on Windows

Installation dialog appears as show below if the installation got successful.

Python installation process on Windows

After successful installation, you can start working with Python on your local machine.

Step3 – Verify the Python installation

Go to windows start menu, find Python IDLE (for this installation, it is “IDLE (Python 3.8 64-bit)”.

Python installation process on Windows

Double click on IDLE and it opens like below -

Python installation process on Windows

In Python IDLE terminal, use print command to verify the python successfully installed or not. Here, we are using a print command to display the output.

Python installation process on Windows

If the output gets displayed immediately and command prompt shows again, that confims the python installed successfully on the Windows. We can start coding of Python language.