Skip to main content

Introduction to Python

Python was created by Guido Van Rossum when he was working at CWI (Centrum
Wiskunde & Informatica) which is a National Research Institute for Mathematics and
Computer Science in Netherlands. The language was released in I991. Python got its
name from a BBC comedy series from seventies- “Monty Pythons Flying Circus”.
Python can be used to follow both Procedural approach and Object Oriented approach
of programming. It is free to use.

Some of the features which make Python so popular are as follows:

Y It is a general purpose programming language which can be used for both
       scientific and non scientific programming.
Y It is a platform independent programming language.
Y It is a very simple high level language with vast library of add-on modules.
Y It is excellent for beginners as the language is interpreted, hence gives immediate
Y The programs written in Python are easily readable and understandable.
Y It is suitable as an extension language for customizable applications.
Y It is easy to learn and use.

The language is used by companies in real revenue generating products, such as:
Y In operations of Google search engine, youtube, etc.
Y Bit Torrent peer to peer file sharing is written using Python
Y Intel, Cisco, HP, IBM, etc use Python for hardware testing.
Y Maya provides a Python scripting API
Y i–Robot uses Python to develop commercial Robot.
Y NASA and others use Python for their scientific programming task.

Python is a terrific language. The syntax is simple and code length is short which makes it easy to understand and write.

Visit for the downloads/documentation.
Python will work in both Windows and Linux
Python 3.6 and 2.7 are the two stable releases. ( Which versions to use? I prefer 2.7 for this basic course)

The Python programming language was conceived in the late 1980s and its implementation was started in December 1989
Python 2.0 was released on October 16, 2000
Python 3.0,  was released on December 3, 2008

There is some difference between 2.x and 3.x  read this before proceeding


  1. Thank you. Truly appreciate all your hardwork, especially your down-to-earth attitude.

    Also Visit this site for "The Best Python Certification"


Post a Comment

Popular posts from this blog

Strings in Python

Strings are compound data type made of sequence of characters. Hence from the string, the individual charters can also be directly accessed. Strings are created by using single quotes or double quotes or triple quotes.
>>>s1="Python Programming"
>>>s2='Python Programs'
>>>s3="""Python is a powerful
Programming language"""

This will create a string object s1, s2 and s3 using different forms.
Individual characters can be accessed using different subscripts( +ve or –ve) with the string object.
We can also slice a string. Segment of a string is called a slice.
If the first index is not mentioned, the slicing will start from 0.
If the last index is not mentioned, the …

Classes and Objects in Python

Python is an object-oriented programming language, which means that it provides features that support object-oriented programming. The basic components of object oriented programming are classes and objects. A Class is a blue print to create an object. It provides the definition of basic attributes and functions of objects. Object is a running instance of the class having the identity(name), properties( values) and behaviors(functions). The Object oriented program thus consist of object definitions (classes) and most of the computations and functions are mentioned as operations on the object. Each object definition corresponds to some object or concept in the real world, and the functions that operate on these object correspond to the ways real-world objects interact. We have learned objects of string, list, tuple etc…and used the properties and functionalities of these objects which are built into the Python. Now we are going to create our own(user defined) objects. The class provides basic…

Files in Python , Exception handling

While a program is running, its data is in main memory. When the program ends, or the computer shuts down, data in memory disappears. To store data permanently, you have to put it in a file. Files are usually stored on a secondary storage device(hard disk, pen drive, DVD,CD etc). 
When there are a large number of files, they are often organized into directories (also called “folders”). Each file is identified by a unique name, or a combination of a file name and a directory name. 
By reading and writing files, programs can exchange information with each other and generate printable formats like PDF. Working with files is a lot like working with books. To use a book, you have to open it. When you’re done, you have to close it. While the book is open, you can either write in it or read from it. In either case, you know where you are in the book. Most of the time, you read the whole book in its natural order, but you can also skip around. All of this applies to files as well. 
To open a…