Introduction
In this article, I will explain how to install Python on Windows. After installing Python, we will run a simple program in the idle Python editor and command prompt. Python is a free open-source software available on different platforms such as Windows, Linux, or macOS. Verify if your computer is 64 or 32 bits. Select either Windows x86-64 executable installer for 64-bit or Windows x86 executable installer for 64-bit for 32-bit.
How to install Python?
Step 1. Click this link. It will take you to the Python official download website.
Website link.
![How To Install Python 3.8 On Windows]()
Step 2. Click the download button, and you will see Python 3.8.2.
![How To Install Python 3.8 On Windows]()
Step 3. Click Python 3.8.2, and Python will start to download.
![How To Install Python 3.8 On Windows]()
Step 4. Next, right-click the mouse button you will see the open button. Click to open.
![How To Install Python 3.8 On Windows]()
Step 5. Enable to add Python 3.8 to the path and click install now.
![How To Install Python 3.8 On Windows]()
Step 6. Wait a few minutes, and the display setup was successful. Next, you will click the close button.
![How To Install Python 3.8 On Windows]()
Step 7. Next, you will search for IDLE Python, then click enter.
![How To Install Python 3.8 On Windows]()
Step 8. Next, click the file button. You will see a new file again. Click the new file button.
![How To Install Python 3.8 On Windows]()
Python sample program
Now I am writing a program that displays "Hello friend".
Print is used to print the output statement.
print("Hello friend") #double quotes
print('Hello friend') #single quotes
Output
![How To Install Python 3.8 On Windows]()
How to write Python code in the command prompt?
Step 1. Go to the search option and search “cmd”.
![How To Install Python 3.8 On Windows]()
Step 2. Next, you click the command prompt.
![How To Install Python 3.8 On Windows]()
Step 3. Next, you type Python in the command prompt and press enter key.
![How To Install Python 3.8 On Windows]()
Python sample program
Now I am writing a program that displays "Hello friend".
Print is used to print the output statement.
print("Hello friend") #double quotes
print('Hello friend') #single quotes
Output
![How To Install Python 3.8 On Windows]()
Conclusion
In this article, we have seen how to install Python on the window. I hope this article was useful to you. Thanks for reading!