How to install Python


How to install python on windows

Python is a popular high-level, general-use programming language. There are multiple ways to install python in your operating system, be in Windows, MacOS or any of the linux variant (Ubuntu, etc).

Here, let us follow python installation from official site on windows 10 OS.

First, go to python.org website.

Python install

Here go to download section, it will detect your OS and prompt relevant download option. Due to any specific reason, if you wat to install previous version, there are links for previous versions on the same page.

Download Python

Once, python installer is downloaded, you can open it, it will authentical your admin rights needed for installation. It is recommended to select both the checkboxes as shwon in below image.

python installler

You can see installation progress during installation...

python installation progress

Once installation is successfully completed, you will see below screen.

installation success

you can check the installation confirmed using following on terminal /command prompt

C:\python --version
Python 3.12.0

Install python on Ubuntu

sudo apt install python3

Once done, you can check the version as below

python3 --version
Python 3.10.12

you can upgrade using following command

sudo apt --only-upgrade install python3

You can check official documentation at below location:
Tutorial: https://docs.python.org/3.12/tutorial/index.html
Documentation: https://docs.python.org/3.12/index.html
What is new in release: https://docs.python.org/3.12/whatsnew/3.12.html

post by Pravin

#python

Comments