i

Python Programming

Installing Python (windows and Ubuntu)

Python can be installed both on windows and ubuntu :

For Windows

1. Go to Python site www.python.org, select version you want to install.

2. Please check your machine is 32 bit or 64 bit.

3. Click to download as per requirement.

For Ubuntu

There are many ways to install Python in Ubuntu (Linux). I am showing you the simplest way to install python. Another way we will discuss in practicals.

$sudo apt updates apt install (software-properties-common)

$sudo add-apt-repository ppa:deadsnakes/ppa

$install Python 3.7 with:

$sudo apt install python3.7