Sunday, November 26, 2017

How to install Python in Windows and ubuntu 16.04

In this post I will show how to install Python in windows and ubuntu.

In Ubuntu 16.04:
by default python is installed in ubuntu.

In windows:
First download python 3+ from python.org/downloads as shown below image



Ones download finished install downloaded file as shown below.


Now open command prompt to test.
Just type py to get python version and you can execute python code here. py will not work below python 3.5.
If you are using less than 3.5 use python3.
you can find the below details as shown in the image.


Press exit() to come out of python.

No comments:

Post a Comment