Now a days, there are so many types of programming languages, and all have their own specialties. But what feature is make unique that is its features. So let's first take a look at features that makes it powerful.
FEATURES OF PYTHON
- Easy
- Free and Open Source
- Portable
- Object-Oriented
- High Level
- Interpreted
- GUI Programming
- Large Standard Library
- Dynamically Typed
- Extensible
- Easy:- The python language is easy to code and easy to read. It means, compared to other programming languages like java, c++, it is easier to code in python. Anyone can learn python syntax in just few hours and being a high-level language it is quite like English. Looking at it, you can easily tell what the code is supposed to do.
- Free and Open Source:- On the first hand, python is freely available. You can download it from the python website. On the other hand, it is open-source. Means its source code is available to the public. You can download it, change it, use it, and distribute it. This is called FLOSS(Free/Libre and Open Source Software).
- Portable:- supposed you have written a python code for your window machine. Now you want to run it on Mac, that you can run easily on the Mac. You don't have to change the code for other operating system. In simple words you can take one code and use it on any operating system, there is no need to write different code for different operating system. This makes python a portable language. However, you must avoid any system-dependent feature in this case.
- Object-Oriented:- A programming language that can model the real world is said to be object-oriented. It focuses on objects and combines data and functions. Contrarily, a procedure-oriented language revolves around functions, which are code that can be reused. Python supports both procedure-oriented and object-oriented programming which is one of the key python features. It also supports multiple inheritances, unlike Java. A class is a blueprint for such an object. It is an abstract data type and holds no values.
- High Level:- It is a high-level language. This means that as programmers, we don’t need to remember the system architecture. Nor do we need to manage the memory. This makes it more programmer-friendly and is one of the key python features.
- Interpreted:- As you know that, in any other languages like java, c++, you must first compile it and then run it. But in Python, there is no need to compile it. By Interpreted, we mean the source code is executed line by line, and not all in once. Because of this, it easier to debug your code.
- GUI programming:- A software is not user-friendly until its GUI is made. A user can easily interact with the software with a GUI. Python offers various libraries for making Graphical user interface for your applications. For this, you can use Tkinter, wxPython or JPython. These tool kits allow you for easy and fast development of GUI.
- Large Standard Library:- Python downloads with a large library that you can use so you don’t have to write your own code for every single thing. There are libraries for regular expressions, documentation-generation, unit-testing, web browsers, threading, databases, CGI, email, image manipulation, and a lot of other functionality.
- Dynamically Typed:- Python is dynamically typed. It means the type for a value is decided at run time, not in advance. This is why we don't need to specify the type of data while declaring it.
- Extensible:- When sometime if we need, you can write some of your python code in other languages like C++. This is called Extensible, means that can be extend to other languages.
0 Comments
Please do not add any spam link in the comment box