How to Install Python in Windows ?
Introduction
The Python programming language is an increasingly popular choice for both beginners and experienced developers. Flexible and versatile, Python has strengths in scripting, automation, data analysis, machine learning, and back-end development.
By default, Python is usually not installed on Windows. However, you can check if it exists on the system by running one line of command on the command prompt: python --version
Step 1 − Select Version of Python to Install
Python has various versions available with differences between the syntax and working of different versions of the language. We need to choose the version which we want to use. There are different versions of python 2 and python 3 is available.
Step 2 − Download Python Executable Installer
On the web browser, in the official site of python www.python.org, move to the Download for Windows section.
All the available versions of Python will be listed. Select the version required by you and click on Download. Let suppose, we chose the Python 3.11.5 version.
Step 3 − Run Executable Installer
We downloaded the Python 3.11.5 Windows 64 bit installer.
Run the installer. Make sure to select both the checkboxes at the bottom and then click Install Now.
On clicking the Install Now, The installation in progress.
The installation process will take few minutes to complete and once the installation is successful, the following screen is displayed.
Step 4 − Verify Python is installed on Windows
to ensure that python is successfully installed on your system. Go through following steps
- open command prompt
- type ‘python’ press enter
- The version of the python which you have installed will be displayed if the python is successfully installed on your windows.
We have successfully installed python 3.11.5 on our windows system.