Install Python on Windows

Before starting the installation of the Python, please download the Python executable from the Python official website.

https://www.python.org is the official website for python. Download Python here from Based on operating system you use, here its a Windows Operating System.

Let's perform the following steps to install Python:

  1. Double click the 'python-3.8.2.exe' file.
  2. Select the Install launcher for all users and Add Python 3.8.2 to PATH checkboxes.
  3. Click the 'Install Now' link.
  4. When Python installation is complete, we can see 'Setup was successful' message.
  5. Click the 'Close' button.

Testing the Installation in Windows 10

Click the 'Start' button on the task bar of the Windows 10 operation system. It displays all applications available in your system in alphabetical order. Type Python and view the following icons:

  1. IDLE (Python 3.8 64-bit)
  2. Python 3.8 (64-bit)
  3. Python 3.8 Module Docs (64-bit)

Verifying the Path to Python

During the installation process of Python, the path is automatically set to Python. We can verify the path to the Python directory in the Operating system's environment variables. Let's perform the following steps to view the path to the Python directory:

  1. Right click the 'This PC' icon in Windows 10. Then click the 'Properties' option as shown in Figure It will display a page where we should click the 'Advanced system settings' option. It will display a System Properties dialog box.
  2. Verifying the Path to Python
  3. Click the 'Environment Variables' button, as shown in Figure
  4. Verifying the Path to Python
  5. Select Advanced Tab and Click on Environment Variables Button
  6. Verifying the Path to Python
  7. Click the 'Edit' button present at the right side of the Edit Environment Variable dialog box
  8. Verifying the Path to Python
  9. It will display the directories involved in the Path. We can observe that the directory by the name Python38\Scripts is added to the Path,
  10. Verifying the Path to Python