Python Introduction and Installation Process

Python Introduction with Installation and Setup:

Python is an object-oriented programming language created by Guido Rossum in 1989.

It is very user-friendly and is most popular for its easy to use syntax and readable code. If you are beginning your career as a programmer, then python suits you the best.

This tutorial will explain you all about the features of Python along with the installation and setup process with simple examples for your easy understanding. Read through the Complete Python Guide for Beginners to gain immense knowledge of Python.

Python Introduction and Installation

Watch the VIDEO Tutorial

A Complete Overview of Python with Installation Process:

Features Of Python

Enlisted below are the various features of Python:

  1. Simple and Easy to Learn: Python is simple and easy to learn, read and write.
  2. Free and open source: Python is a free and open source software which means that a user can edit, modify or reuse the software’s source code. This gives the programmers an opportunity to improve the program functionality by modifying it.
  3. Interpreted Language: Python is an interpreted language, which means when we execute a python program, the interpreter executes the code line by line at a time. This makes debugging easy and thus is suitable for beginners.
  4. Python is Interactive: Interactive mode is a command line shell which gives immediate response for each statement.
  5. Portable: Python supports many platforms like Linux, Windows, MacOS, and Solaris.
  6. Object-Oriented: Python supports Object-Oriented technique of programming which provides a means of structuring programs so that properties and behaviors are bundled into individual objects.
  7. Supports different programming models: Python supports procedure-oriented programming as well as object-oriented programming.
  8. Flexible: Python code can invoke C and C++ libraries and can be called from and C++ programs, and can integrate with Java and .NET components.

Python Installation and Setting Path in Windows

Python can be downloaded from its official site:

  • To download in your system go to Download Python page and click Download Python.
  • Once the download is completed, open the .exe file and follow the on-screen instruction to install it.
  • Once Python is installed in your system, a graphical user interface program IDLE is also installed along with it to work with Python.

Follow the below steps to set path in windows:

Click on This PC or My Computer from your Desktop

MyComputer -This PC

Right-Click on This PC or My Computer

Python Installation - Step 1

Select Properties

Python Installation - Step 2

Click on Advanced system settings on the left side of the properties window

Python Installation - Step 3

Select Environment variables under the advanced tab

Python Installation - Step 4

Under System variables select the variable “PATH”

Python Installation - Step 5

Click on Edit

Python Installation - Step 6

Click on New

Python Installation - Step 7

Give the path of the location where Python is installed and click on OK

Python Installation Setup

My computer => Right click => Select Properties => Click on Advanced system settings => Select Environment variables under Advanced tab => Under system variables select the variable “PATH” => Click on edit => Click on New => Give the path of location where python is installed.

Once an Environmental variable is set successfully, we can check if python is installed correctly or not in the command prompt by simply typing “Python”.

Python Command

Basic Syntax

If you are familiar with another programming language, then you will be familiar with the curly brace and semicolon.

In Python, we need not worry about these two for statement separation and block of code separation. In python, everything will be indented.

Interactive Mode

Print (“Hello World”)

We can print the below statement in an interactive mode as mentioned in the below screenshot.

python interactive mode example

Script/Normal mode

#1) Open the editor in Normal mode.

#2) Write the statements that you want to execute.

#3) Save the file as

python script in normal mode

#4) Open the Command prompt.

#5) Go to the location where the file is saved.

#6) Now run the file as python as mentioned in the screenshot.

running the script in command prompt written in normal mode


  • Python is a general-purpose programming language and if you are just beginning your programming career, then python suits best for you.
  • In Python, variables do not need a declaration to reserve the memory space. “Variable declaration” happens automatically when we assign a value to a variable.
  • Like any other programming language python also supports 6 standard data types which consist of both mutable and immutable features.
  • Numbers, string and tuple are immutable data types whereas list, Dictionaries and sets are mutable data types.
  • Python also supports 7 different types of operators and by using these operators we can perform various operations like Arithmetic, Comparison, Logical, Bitwise, Assignment, Identity, Membership on 2 or more operands.

Our upcoming tutorial in this series will explain Python Variables in detail!!

PREV Tutorial | NEXT Tutorial