There are a lot of features provided by the python programming language.
- Easy to use
- Expressive Language
- Easy to Learn
- Interpreted Language
- Cross-platform language
- Open Source
- Object-Oriented language
- Large Standard Library
- GUI Programming
- Supports exception handling
- Advanced features
- Automatic memory management
Python is a very readable language.
Easy to Use:
Python is easy to very easy to use and high-level language. Thus it is programmer-friendly language.
Python language is more expressive. The sense of expressive is that the code is easily understandable.
Easy to Learn:
Learning python is easy as this is an expressive and high-level programming language, which means it is easy to understand the language and thus easy to learn.
Python is an interpreted language i.e. interpreter executes the code line by line at a time. This makes debugging easy and thus suitable for beginners.
Python can run equally on different platforms such as Windows, Linux, Unix, Macintosh, etc. Thus, Python is a portable language.
Python is an open-source programming language.
Python is free to download (www.python.org) and use programming language. This means we can download it for free and use it in our application. Python is an example of a FLOSS (Free/Libre Open Source Software), which means you can freely distribute copies of this software, read its source code and modify it.
Python supports object-oriented language. The concept of classes and objects comes into existence.
It implies that other languages such as C/C++ can be used to compile the code and thus it can be used further in your python code.
Large Standard Library:
Python has a large and broad library.
Graphical user interfaces can be developed using Python.
Supports exception handling:
If you are new to programming, you may wonder what is an exception? An exception is an event that can occur during program execution and can disrupt the normal flow of the program. Python supports exception handling which means we can write less error-prone code and can test various scenarios that can cause an exception later on.
It can be easily integrated with languages like C, C++, JAVA, etc.
Supports generators and list comprehensions. We will cover these features later.
Automatic memory management:
Python supports automatic memory management which means the memory is cleared and freed automatically. We do not have to bother clearing the memory.