How to Install Python on Windows?

Python has become one of the most popular programming languages of the 21st century. It is being used for multiple purposes in various sectors of business. Developers use Python for building applications and developing websites. Data Engineers use Python for performing data analysis, statistical analysis, and building machine learning models.

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

To download Python, you need to visit www.python.org, which is the official Python website.

python

Want a Top Software Development Job? Start Here!

Full Stack Developer - MERN StackExplore Program
Want a Top Software Development Job? Start Here!

Click on the Downloads tab and then select the Windows option. 

python-downloads

This will take you to the page where the different Python releases for Windows can be found. Since I am using a 64bit system, I’ll select “Windows x86-64 executable installer”.

stable releases

Once the executable file download is complete, you can open it to install Python.

open-file

Click on Run, which will start the installation process.

installation process

If you want to save the installation file in a different location, click on Customize installation; otherwise, continue with Install Now. Also, select the checkbox at the bottom to Add Python 3.7 to PATH.

setup-process

Once the installation is complete, the below pop-up box will appear: Setup was successful.

setup-successful

Now that the installation is complete, you need to verify that everything is working fine.

Preparing Your Blockchain Career for 2024

Free Webinar | 5 Dec, Tuesday | 9 PM ISTRegister Now
Preparing Your Blockchain Career for 2024

Go to Start and search for Python.

search

You can see Python 3.7 (64-bit) and IDLE. Let’s open IDLE, which is the short form for Integrated Development Environment, and run a simple print statement.

python3.7.4

As you can see, we have successfully printed “Hello World” in Python Shell. Using the Python Shell, you can write one line of code and execute it by pressing Enter.

Python also has a command-line interpreter that works similarly to Python IDLE. Let’s print “Hello world” in the command-line.

python3.7

Python’s command-line interpreter and IDLE are suitable for any beginner to start with. However, to work in a developer environment and build large scale projects, you should use other popular IDEs and code editors, such as PyCharm, Atom, and Sublime Text. You can also try out the Anaconda Distribution of Python, which has Jupyter Notebook and Spyder.

I hope this was helpful, and you were successfully able to download and install Python on Windows. To get more in-depth training, sign up for Simplilearn’s Post Graduate Program in Full Stack Web Development today!

About the Author

Avijeet BiswalAvijeet Biswal

Avijeet is a Senior Research Analyst at Simplilearn. Passionate about Data Analytics, Machine Learning, and Deep Learning, Avijeet is also interested in politics, cricket, and football.

View More
  • Disclaimer
  • PMP, PMI, PMBOK, CAPM, PgMP, PfMP, ACP, PBA, RMP, SP, and OPM3 are registered marks of the Project Management Institute, Inc.