Python is a highly expressive programming language used for general purpose. It is open-source and can be run on various operating systems like Microsoft Windows, Unix Systems, Mac and Android.
To develop mobile or web applications, you can choose to use Python. Moreover, it can also be used for software development and data engineering especially data analysis.
Through this article, I will show how to install Python on Windows 10 from Scratch. I will also review how to print "Hello World!" in the Python shell.
Step 1 : Download the Python Installer
To start, go to python.org/downloads and then click on the button to download the latest version of Python. The latest version of Python installer can be found here : python.org/ftp/python/3.8.4/python-3.8.4.exe.
Step 1 : Run the exe file
Once the download is completed, go to your downloads folder and run the exe file for installing Python.
Step 3 : Install Python
You can click on "Install Now" to start the installation. But before, note that you can check the "Add Python 3.8 to PATH" or leave it blank and choose to add it manually to Path after the installation.
Your installation should begin...
After a while, when the installation is complete, a setup successful popup should appear, and you can click on Close.
Nice!! You just installed Python on your windows 10.
Now, let's see how to print Hello World in the Python Shell.
First of all, open the python shell app on your device. To do that, click on start, and type in “python” in your search bar. You should see a list of items as shown in the picture below. Click on Python IDLE.
Once you click on the Python IDLE, you will see the shell screen:
Inside the Python shell, type “Hello World” after the triple chevrons and press Enter. Then you will see "Hello World" displayed on the screen.
Besides the Python default IDE, there are other IDEs such as Pycharm and VsCode which you can use to write and execute python scripts.
Thank You for reading !!