How to Download and Install Python 3.8 for Windows

In this short guide, I’ll show you how to download and install Python 3.8 from scratch. I’ll also review how to run a simple code in Python.

Here are the steps that you may follow.

Steps to Download and Install Python 3.8 for Windows

Step 1: Download Python 3.8

To start, go to python.org/downloads and then click on the button to download the latest version of Python:

How to Download and Install Python 3.8 for Windows

Step 2: Run the .exe file

Next, run the .exe file that you just downloaded:

Download exe

Step 3: Install Python 3.8

You can now start the installation of Python by clicking on Install Now:

Install Python 3.8 for Windows

Note that depending on your needs, you may also check the box to add Python to the Path.

Your installation should now begin:

Setup Progress

After a short period of time, your setup would be completed:

Successful Setup

Congrats, you just installed Python for Windows!

Let’s now see how to run a simple code in Python.

Run a Code in Python

You can run a code in Python via the Python IDLE.

A quick way to find your Python IDLE on Windows is by clicking on the Start menu. You should then see the IDLE under “Recently added”

Download and Install Python 3.8 for Windows

Once you click on the Python IDLE, you would then see the Shell screen:

Install Python

Click on File and then select New File (alternatively, you may use the keyboard shortcut of Ctrl+N):

Run a code on Python

You would now see the following “untitled” box, where you can type your Python code:

Empty box

For example, type/copy the command below. This command will print the famous expression of “Hello World”

print ("Hello World")

This is how the command would look like in the “untitled” box:

How to Download and Install Python for Windows

Press F5 on your keyboard. You will then get the following message to save your code:

Save your py file

Choose a location where the Python file will be saved on your computer. You’ll also need to type a name for your file. For example, I named the file as “Test”

Test FIle

Once you’re done, press Save, and you would then see the “Hello World” expression printed on your Python Shell:

How to Download and Install Python for Windows