Table of Contents
History and Features of Python
Python was developed by Guido van Rossum. It was named Python after the BBC show ” Monty Python’s Flying Circus”.
The first version on Python was released in 1991 which included high level datatypes,exception handling etc.
Python 1.0 was released in February 1994 ,this included lambda,map,filter and reduce.
Python 2.0 was released in January 2000 ,this include list comprehensions,garbage collectors etc.
Python 3.0 was released in December 2008,this version had modified functions from previous versions.
Python 3 is not backward compatible with Python 2.
- No need to declare variables
- Complex operations can be expressed in single statement
- Indentation is used in place of curly braces for grouping statements
- Few keywords,clean syntax and readable code makes it simple to maintain
- Easy to learn
- Free and Open Source
- No need to pay money for installing Python
- Wide community support makes it open source and continually improving.
- High level language
- While writing programs in python it is not necessary to manage low-level details like managing memory.
- High level language is like general English language where as machine language is called as low-level language.
- Platform Independent/Portable
- It means python code can be written on any operating system and can be executed on any machine containing python.
- Provides better support and structure for large programs than shell scripting
- User Friendly
- It has feature of abstraction and hiding of details which make it more user friendly.
- GUI Programming makes python easier for user to use and understand.
- Unlike C,C++ compile and run environment , Python has only interpreter to run code
- In C,C++ code written in English language is given to compiler to convert it to byte-code (machine language) and then interpreter is used to interpret data to native language of computer and then runs it.
- Where as Python directly convert it to byte-code in background and interprets the code.
- Object Oriented
- Python uses Object Oriented concepts and simplifies coding by reducing redundancy.
- If one has good knowledge of C programming then it is easy to add new built in function to the interpreter.
- Python code can be embedded with C, C++ programs to give scripting capabilities for programmers.
- Extensive Libraries
- The Python Standard library is huge, it consists of regular expressions,XML, GUI, databases etc.
- High level data types and error checking
- It has High level datatypes (flexible arrays,dictionaries etc)
- More effective error checking than C
For other python basics related posts:
For other advanced python related posts: