Introduction to Python

What is Python

Python is an object oriented Programming Language developed by Guido Van Rossum in February 1991. It is basically influenced from two languages namely ABC and Modula-3.

Why it is named Python

Python is not named after snake but is named after famous BBC comedy show “Monty Python’s Flying Circus”.

Who is promoting Python

It is promoted by google and top leaders of IT industry.

Features of Python

1. Expressive:

It is simple to write complex codes in Python.

For example: I need to interchange values of two variables.

Code to interchange them in C,C++,C# and Java is

int A=10,B=5,C;

C=A

A=B

B=C

In python we can do :

A,B=10,5

A,B=B,A

2. Easy to use:

It is very easy to use Python due to very simple syntax and programmer friendly nature

3. Interpreter Based Language

Syntax errors in Python are checked line by line during run time. So it is easy to find and correct errors in Python

4. Rich Library

Python has in built library for almost every kind of task including databases, GUI, Network based and web based applications.

5. Platform Independent Language

Python is a platform independent language. It can equally run on all major hardware and software platforms. Same python code can run on Windows, LINUX, Unix, Macintosh as well as smart phones.

6. Open Source Language

Python is an open source language I.e. complete inbuilt code is also available. Moreover it is free so that you can download and use it without any restrictions.

7. Diverse Area of Usage

Python is being used in different types of applications such as:

  • Web applications
  • Game development
  • GUI applications
  • Database Applications
  • Scripting Purpose
  • Prototyping