Python Introduction

Python is a general purpose programming language. Python was invented by Guido Van Rossum and it's first release was in February, 1991. The name python is inspired from Monte Python Flying Circus. Python has now evolved to its third generation and the latest version at the time this literature is Python 3.8

Image placeholder
Figure 1: Python is the fastest growing language of the decade.

Python versions history

Python Version Released Date
Python 0.9 Feb 1991
Python 1.0 Jan 1994
Python 2.0 Oct 2000
Python 3.0 Dec 2008
Python 2.7 Jul 2010
Python 3.7 Jun 2018
Python 3.7.4 July 8, 2019

Python programming key features

1. Python is simple and powerful
Since its beginning python inventors focused on simple and readable, English like code. At the same time a vast set of libraries and ever growing python community, makes python a powerful programming language.

2. Python is interactive
Like any other languages we can give code instructions to python for data input, processing and output. Python uses *.py file as normal mode and also features an interactive mode with '>>>' symbol for quick code interpretation.

3. Python is interpreted
Due to its line-by-line interpretation of code it is also known as interpreted language. Python also offers dynamic typing like other interpreted languages. Python first code is first compiled to *.pyc which is then interpreted by Python Virtual Machine (PVM).

4. Python is object-oriented
Python offers class structures and object-oriented benefits like Inheritance, Overriding, Overloading etc. Python code need not be written with classes always but python is object oriented since beginning.

5. Python is easy open-source
All the greatness of python will never cost you anything, thanks to Python Software Foundation.

6. Portable or cross-platform language
Python can run equally on different platforms such as Windows, Linux, Unix and Macintosh etc. So, we can say that Python is a portable language.

7. Extensible and integrated
It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in our python code. It can be easily integrated with languages like C, C++, JAVA etc.

8. Readable and case-sensitive
A lot of emphasis is given on readablility of python code. Use of indent, limited to no use of ; are the steps in this regard. Python is also case-sensitive and same word in different cases are treated as different objects.

9. Implicitly defined
No type declaration is required while making variable assignment. It is automatically and internally understood by python, thus it is implicitly defined language unlike C, Java etc.

10. Dynamically typed
Since python is implicitly defined a positional argument in python need not statically bind to any data type and hence we can change it's value every time we call it. In the below example x and y are dynamically typed.

Share Post
Ram Kumar Poddar

Ram has worked as a Software Developer for Amazon Development Center India. He is regarded as one of the best Python trainers in India.



Share your opinion: