Download and Install Python

Python is a free and open source programming language, and you can get Python source code easily.

Before you start, you will need Python on your computer.

Check whether you already have an up to date version of Python installed by entering python in a command line window.

Note: Python comes preinstalled on most Linux distributions, and is available as a package on all others.

To install Python Interpreter on your computer (MS Windows):

Download and Install Python, Download Python interpreter from Python official web site python.org, install Python software, set Python environment variable, launch Python IDLE, and write first Python Program.

Download and Install Python

Python environment is required to write and execute/run Python programs, for that first we need to download and install Python interpreter from Python web site python.org

Launch python.org, 

from this web site you can download your operating system compatible Python software, 

Select Downloads tab > Windows >  Click Latest Python 3 Release – Python 3.8.3 link >

scroll down

Click Download “Windows x86-64 executable installer”

Note: Ours Windows 64 bit operating system

The file named python-3.8.3-amd64.exe should start downloading into your standard download folder.

Installing Python:

Double-click the icon labeling the file python-3.8.3-amd64.exe.

A Python 3.8.3 (64-bit) Setup pop-up window will appear.

Ensure that the Install launcher for all users (recommended) and the Add Python 3.8 to PATH checkboxes at the bottom are checked.

Note: If you add Python to Path then Python environment variable will be set automatically

Select the Install Now option…then installation will start….

A new Python 3.8.3 (64-bit) Setup pop-up window will appear with a Setup Progress message and a progress bar.

During installation, it will show the various components it is installing and move the progress bar towards completion. Soon, a new Python 3.8.3 (64-bit) Setup pop-up window will appear with a Setup was successfully message.

Then Click the Close button.

Verifying the Installation:

After Python Installation, Open Command line window, type python, then you can get Python version info (otherwise it shows error)

Or

After Python installation, launch Python IDLE (Integrated Development and Learning Environment) from start and write Python statement, execute/run.

First Python Program:

x=123
y=234

print (x+y) # It will print 357

Modes of Programming in Python:

1) Iterative Mode

2) Script Mode


Suggestion:

Python IDLE (Integrated Development and Learning Environment) is best for learning Python language, and PyCharm IDE is best for working (real-time)

You can get Python IDLE after installation of Python, but you need to download & install PyCharm IDE…


Python software means Python interpreter, installation of Python or Python environment setup is very easy, and it takes less time as well as efforts.

G C Reddy

G C Reddy, Working as a Software Testing Trainer in Hyderabad, India.

You may also like...

Leave a Reply

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