Important Features of Python Language
Important Features of Python Language
Features of python:
1. Simple: Python is a simple and minimalistic language. Reading a good Python program feels almost like reading
English language. It means more clarity and less stress on understanding the syntax of the language. It allows you to
concentrate on the solution to the problem rather than the language itself.
2. Easy to learn: Python uses very few keywords. Python has an extraordinarily simple syntax and simple program
structure.
3. Open Source: There is no need to pay for Python software. Python is FLOSS (Free/Library and Open Source
Software). It can be free downloaded from www.python.org website. Its source can be read, modified and used in
4. High level language: When you write programs in Python, you never need to bother about the low-level details such
5. Dynamically typed: Python provides IntelliSense. IntelliSense to make writing your code easier and more error-free.
IntelliSense option includes statement completion, which provides quick access to valid member function or variables,
including global, via the member list. Selecting from the list inserts the member into your code.
6. Portable: Due to its open-source nature, Python has been ported to (i.e. changed to
make it work on) many platforms. All your Python programs can work on any of these
platforms without requiring any changes at all if you are careful enough to avoid any
system-dependent features.
7. Platform independent: When a Python program is compiled using a Python compiler,
it generates byte code. Python’s byte code represents a fixed set of instructions that
run on all operating systems and hardware. Using a Python Virtual Machine (PVM),
anybody can run these byte code instructions on any computer system. Hence,
Python programs are not dependent on any specific operating system.
8. Procedure and Object Oriented: Python supports procedure-oriented
programming as well as object-oriented programming. In procedure-oriented
languages, the program is built around procedures or functions which are
nothing but reusable pieces of programs. In object- oriented languages, the
program is built around objects which combine data and functionality.
Python has a very powerful but simplistic way of doing OOP, especially when compared to
big languages like C++ or Java.
9. Interpreted: Python converts the source code into an intermediate form called byte
codes and then translates this into the native language of your computer using
PVM(Is s interpreter) and then runs it.
11.Embeddable: You can embed Python within your C/C++ programs to give
scripting capabilities for your program’s users.
12.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), and other system-
dependent stuff. Remember, all this is always available wherever Python is installed.
This is called the Batteries Included philosophy of Python.