Python is among the most widely used programming languages. Due to its user-friendliness, readability, and extensive library ecosystem, whether you are a novice or an expert developer, the first step to accomplish this is to install Python on Windows if you wish to write and execute Python programs.
Here, we are going to learn how to install Python on Windows step-by-step.
In order to install Python on other platforms like Mac, Ubuntu and more, check out the following links:
Python doesn't come with prepackage in Windows, but it doesn't mean that Window user cannot be flexible with Python. Some operating systems such as Linux come with the Python package manager that can run to install Python. Below are the steps to install Python in Windows.
To install Python on Windows, you first have to take the Python installer from the internet.
Visit the official website of Python:

Choose the Correct Version
Selecting the appropriate version

1.3 Installer Download

After downloading the installer file, you have to run it.
2.1 Finding the Installer

2.2 Selecting Installation Preferences
Upon the appearance of the setup window of Python, these options will be available: You have to do these things:
1. There is "Add Python to PATH," which you will be required to check the box next to it.
This step must be done with utmost care as it is very critical.
2. Decide from the given options:
2.3 Commencing Installation

The whole process might take a few minutes.
To successfully confirm that Python was installed, kindly follow the procedure listed below:
4.1 Open Command Prompt
4.2 Check Python Version

3.9.7 (where the number following 3 is the version number)
In the situation that the command yields an error, it may indicate that Python is not added to the system PATH.
Pip is known as a package manager, which enables the installation and management of Python libraries.
5.1 Check if pip is Installed

In an effort to test if Python is working correctly, attempt to run basic Python scripts.
1. Command Prompt (cmd) can be opened.
2. Type:
A Python interactive shell page will open, revealing the Python version with ">>>" following it.
3. Type the following statement:
4. Assuming that Python was installed properly, it will show:

5. To close Python, the following command can be used:
You have successfully installed Python on your Windows operating system. You can now start coding in Python, adding new libraries, and creating new projects.
We request you to subscribe our newsletter for upcoming updates.