Friday, November 23, 2018

Features of Python

In this post you will know the favorite features of Python. Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development, as well as for use as a scripting or glue language to connect existing components together.

The following are the some of the best features of Python:

1. Easy to code and read-

Python is very easy to code as compared to other popular languages like Java & C++, it is easier to code in Python. Anyone can learn python syntax in just a few hours.Not only is it easy to code, it is also easy to understand. Readability is another advantage, since it is dynamically-typed, it mandates indentation. This aids readability

2.Free and Open-Source-

Firstly, Python is freely available. You can download it from the following link 


Secondly, it is open-source, this means that source code is available to the public. you can download it, use it, change it, & distribute it which is called Free/Libre and Open Source Software (FLOSS).

3. High- Level-

It is a high-level language. When you write programs in python, you don’t need to remember the system architecture, nor do we need to manage the memory, this makes it more programmer friendly.

4. Portable-

If you have written a Python code for windows machine. If you want to run on a Mac, you don’t need to change to it for the same. You can take one code & run it on any machines. This makes Python a portable language.



5. Extensible-

Python can be extended to other languages. You can write some of your code in languages such as C++ or C, this comes in handy especially in projects.

6. Embeddable-

Python is embeddable as well. you can put your python code in your source code of a different language like C++ , this let us add scripting capabilities to or code in other language.

7. Object-Oriented-

Python supports both procedure-oriented & object-oriented programming, is one of the key python features. Functions help us with code re-usability, classes, & objects let us model the real world. A class allow the encapsulation of data & functions into one.

8. Large Standard Library-

Contain code for various purpose like regular expressions, documentation-generation, unit testing, threading, web browsers, CGI, database, email, image manipulation etc. So, you don’t have to write the complete code for that manually.

9. Dynamically Typed-

Python is dynamically-typed, this means that the type for a value is decided at runtime, not in advance. This is why you don’t need to specify the type of data while declaring it.

10. Extensive Libraries

The Python Standard Library is huge indeed. It can help you do various things involving regular expressions, documentation generation, unit testing, threading, databases, web browsers, CGI, ftp, email, XML, XML-RPC, HTML, WAV files, cryptography, GUI(graphical user interfaces) using Tk, and also other system-dependent stuff. Remember, all this is always available wherever Python is installed. This is called the "batteries included" philosophy of Python.

No comments:

Post a Comment

High Paying Jobs after Learning Python

Everyone knows Python is one of the most demand Programming Language. It is a computer programming language to build web applications and sc...