Python programming language: Python is high-level programming language developed by ” Guido Van Rossum”.
Python provides lots of features that are listed below.
Features of python
- Simple and easy to learn
Python is a very easiest programming language. Any non-technical personal can understand code that much easy to
- Freeware and open source
For developing a Python application you do not need to take a license.
Freeware means we do not require to pay single rupees.
Open source means we can see the code (implementation) of Python and also we are allowed to make changes in the code
and create one new version (own version) of Python.
- Platform independent
Python provides WORA(write once and read anywhere) feature. You can write application one platform and run
anytime on any machine.
Example:- write a program on windows and run code in Linux or any platform.
Portability means moving Python program from one platform to another without making any changes.
Example:- If you developed the application on windows machine and windows encounters a problem then you can move to
Linux machine is easy.
- High-level programming language
Python is human to understand the code. We write code as normal English statement and we don’t require to worry about
In Python we don’t need to compile the Python code, Python interpreter will compile the code if compilation
fails Python raised a compilation error. Once compilation success-ed Python virtual machine executed the code.
The interpreter executes the code line by line.
We can use python in other languages.
Python program can be embedded in other languages also.
- Rich library support
In python, there is a large number of the library available for every requirement.
We don’t require to write large code we simply import libraries and use it in our code.
Python unique features
In Python, we can use other language programs (example: c, java)
- Dynamically typed language
It is the most important feature of Python.
In Python, we are not required to specify the type of variable. We simply write the variable name and assign value.
Python automatically assigns the type of variable depending on value.
Example:- x=10 Python variable without a type
Based on the type of value Python assigns into type to x variable.
- Both procedures oriented and object-oriented language
If you go for Python you can use both procedural and object-oriented features. Python also supports scripting language features.
What is Extensible feature of python
- Python language is an extensible programming language.
Suppose we have some code of 1 lakh line code in java. Then you don’t require to write this code in Python you
can directly include java code in Python.
We can improve the performance of the application
If you are developing python application and having some part of code very crucial then that part of the code you
can implement in other programming languages like c or java and use that other language code in python which will
improve the performance of the Python application.
Advantage of Extensible
We can use already existing code.
Difference between platform independence and portability
Platform independence means you can write one application on one platform and run anytime on any machine.
Example if you write an application( Python ) and you have given application to different clients.
Client 1 having windows
next Client 2 having Linux
Client 3 having the mac
You have one platform program running on a different platform is platform independence.
Suppose we have Python program running on a windows machine, now I want to migrate python program into mac
the machine, you don’t require to change anything is portability.
Python has above very impressive features then what are some limitations of python programming language?
Python has some disadvantages which are as follows.
Limitations of python
Performance vice is not up to the mark as it is interpreted language when compared to other languages.
- Mobile application
for the mobile area, python is not up to the mark.