Python - Features
Python - Features
Features of Python
1. Easy to Learn
This is one of the most important reasons for the popularity of
Python. Python has a limited set of keywords. Its features such as
simple syntax, usage of indentation to avoid clutter of curly
brackets and dynamic typing that doesn't necessitate prior
declaration of variable help a beginner to learn Python quickly and
easily.
2. Interpreter Based
3. Interactive
>>> 2*3+1
7
>>> print ("Hello World")
Hello World
Even though it has a very few keywords (only Thirty Five), Python
software is distributed with a standard library made of large number
of modules and packages. Thus Python has out of box support for
programming needs such as serialization, data compression,
internet data handling, and many more. Python is known for its
batteries included approach.
7. GUI Applications
Python's standard distribution has an excellent graphics library
called TKinter. It is a Python port for the vastly popular GUI toolkit
called TCL/Tk. You can build attractive user-friendly GUI
applications in Python. GUI toolkits are generally written in C/C++.
Many of them have been ported to Python. Examples
are PyQt, WxWidgets, PySimpleGUI etc.
8. Database Connectivity
Almost any type of database can be used as a backend with the
Python application. DB-API is a set of specifications for database
driver software to let Python communicate with a relational
database. With many third party libraries, Python can also work
with NoSQL databases such as MongoDB.
9. Extensible
The term extensibility implies the ability to add new features or
modify existing features. As stated earlier, CPython (which is
Python's reference implementation) is written in C. Hence one can
easily write modules/libraries in C and incorporate them in the
standard library. There are other implementations of Python such as
Jython (written in Java) and IPython (written in C#). Hence, it is
possible to write and merge new functionality in these
implementations with Java and C# respectively.
10. Active Developer Community
As a result of Python's popularity and open-source nature, a large
number of Python developers often interact with online forums and
conferences. Python Software Foundation also has a significant
member base, involved in the organization's mission to "Promote,
Protect, and Advance the Python Programming Language"