CBSE Class 11: Python Introduction And Features 2

PYTHON FEATURES

There are a lot of features provided by the python programming language.

Readable
Easy to use
Expressive Language
Easy to Learn
Interpreted Language
Cross-platform language
Open Source
Free
Object-Oriented language
Extensible
Large Standard Library
GUI Programming
Supports exception handling
Integrated
Advanced features
Automatic memory management

 

Readable:
Python is a very readable language.

Easy to Use:
Python is a very easy high-level language. Thus it is programmer-friendly language.

Expressive 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.

 

Interpreted Language:
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.

Cross-platform language:
Python can run equally on different platforms such as Windows, Linux, Unix, Macintosh, etc. Thus, Python is a portable language.

Open Source:
Python is an open-source programming language.

Free:
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.

 

Object-Oriented language:
Python supports object-oriented language. The concept of classes and objects comes into existence.

Extensible:
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.

GUI Programming:
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.

 

Integrated:
It can be easily integrated with languages like C, C++, JAVA, etc.

Advanced features:
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.