How To Install Python 3 On Windows and Linux

In the previous article, we have learned about the Introduction to Python programming language and knew why it has been the beginner’s favorite language. Please have a look at that article If you haven’t read it yet. Installing python on our systems is a simple task that novice can complete it in a couple of minutes.

Installing Python On Linux

For Ubuntu or any Linux users, most of them were come up with preinstalled Python 2 and 3. You can check by typing python and python3 on your terminal to confirm whether it was installed or not. It should open its console and show version details as below by hitting the enter button.


In the above image, you can find that both python and python 3 were installed in my Linux system. If you are not getting the same output as above, you need to install python. These commands will make it for you in the Linux systems.

Installing Python On Windows

To install python on windows, you can go to the Python Official Website and choose the desired version which is compatible with your windows os and bits. If you want to run python on windows command prompt as you do in the Linux terminal, you need to add python.exe to the path in the environment variables. However, You will be asked to do this while installing python itself. Please check the below image.

Text Editors For Python

Writing a very large code to console on windows or Linux is a very difficult task and an impossible thing to accomplish. So, we need to use the text editors to write and manage the scripts for further usage. The best text editors for python in the market are Sublime and Notepad++. However, I would prefer Pycharm for most of my projects over text editors (it’s my personal opinion).

In the next article, you will learn about How To Run Programs On Python.

Leave a Reply

Your email address will not be published. Required fields are marked *