Introduction
In the last few years, Python has become the popular choice of many programmers, and its importance in the software industry is growing day by day. In many countries, it has been introduced as an introductory course in the initial classes itself. According to a survey taken from the Internet, Python has been ranked as the #2 language among all of the programming languages (with the first being Java).
Python is an open-source software/language being developed Guido Van Rossum in 1991. It combines the features of Java and C language.
Here are some of the major features of Python…
- Simple syntax
- Free and Open Source
- Easy learning curve, it like reading English only
- Dynamically typed language
- Platform Independent
- Combines features of procedural and object-oriented language
- Extensible
- Extensive standard libraries
- Portable
- Embeddable
There are many areas where Python can be used very easily.
Designing GUI application (Web and Desktop both)
- Accessing databases
- Designing Games and Graphics
- Network programming
- Data Analysis and Creation
Python comes in various flavors, which means it supports various types of compilers
- PyPy
- CPython(Most Commonly Used)
- Jython
- Iron Python
- Ruby Python
Let’s compare Python with the most basic language (i.e. C Language).
PYTHON
|
C
|
No Pointers
|
Has pointers
|
There is no need to declare datatype for variable
|
Declaring Data Type is a must for variable
|
Supports only 1-D arrays
|
Supports N-dimensional arrays
|
Supports negative indexing
|
Doesn’t support Negative indexing
|
No need to do Memory Management. It is automatically taken care of.
|
Memory allocation is implicitly done by using various functions
|
Happy Learning!!