Skip to main content

Features of Python

 

Features of Python:

 

1.  Simple and easy to learn:

 

Python is a simple programming language. When we read Python program, we can feel like reading English statements.

The syntaxes are very simple and only 30+ kerywords are available.

When compared with other languages, we can write programs with very less number of lines. Hence more readability and simplicity.

We can reduce development and cost of the project.

 

2.  Freeware and Open Source:

 

We can use Python software without any licence and it is freeware.

 

  Its source code is open,so that we can we can customize based on our requirement. Eg: Jython is customized version of Python to work with Java Applications.                           

 

3.    High Level Programming language:

 

Python is high level programming language and hence it is programmer friendly language. Being a programmer we are not required to concentrate low level activities like memory management and security etc..

 

4.  Platform Independent:

 

Once we write a Python program,it can run on any platform without rewriting once again. Internally PVM is responsible to convert into machine understandable form.

 

5.  Portability:

 

Python programs are portable. ie we can migrate from one platform to another platform very easily. Python programs will provide same results on any paltform.

 

6.  Dynamically Typed:

 

In Python we are not required to declare type for variables. Whenever we are assigning the value, based on value, type will be allocated automatically.Hence Python is considered as dynamically typed language.

 

But Java, C etc are Statically Typed Languages b'z we have to provide type at the beginning only.

 

This dynamic typing nature will provide more flexibility to the programmer.

 

7.  Both Procedure Oriented and Object Oriented:

 

Python language supports both Procedure oriented (like C, pascal etc) and object oriented (like C++,Java) features. Hence we can get benefits of both like security and reusability etc

 

8.  Interpreted:

 

We are not required to compile Python programs explcitly. Internally Python interpreter will take care that compilation.

 

If compilation fails interpreter raised syntax errors. Once compilation success then PVM (Python Virtual Machine) is responsible to execute.

 

9.  Extensible:

 

We can use other language programs in Python. The main advantages of this approach are:

1.  We can use already existing legacy non-Python code

2.  We can improve performance of the application

 

10.   Embedded:

 

We can use Python programs in any other language programs.

i.e we can embedd Python programs anywhere.

 

11.   Extensive Library:

 

Python has a rich inbuilt library.

Being a programmer we can use this library directly and we are not responsible to implement the functionality.

 

etc...

Comments

Popular posts from this blog

Flow Charts - What Is a Flow Chart? When to Use a Flowchart? Flowchart Symbols & Components

  Flow Charts     Flow charts are a useful tool in many situations, as we make a process easy to understand at a glance. Using just a few words and some simple symbols, they show clearly what happens at each stage and how this affects other decisions and actions.   What Is a Flow Chart?     In 1921, the Frank and Lillian presented what was only a "graphic-based method" in a presentation titled: “ Process Charts: First Steps in Finding the One Best Way to do Work ”, to members of the American Society of Mechanical Engineers (ASME). When to Use a Flowchart?     Flowchart is a very simple yet powerful tool to improve productivity in both our personal and work life. Here are some ways flowchart can be helpful:   ·      Document a process ·      Present solution to a problem ·      Brainstorm ideas in a meeting ·      Design an operation system ·    ...

Most Asked Pattern Programs in C

  Pattern Programs in C  

Generations-of-Computers

  What is a computer?            Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions (called program), produces a result (output), and saves it for future use. This tutorial explains the foundational concepts of computer hardware, software, operating systems, peripherals, etc. along with how to get the most value and impact from computer technology. Functionalities of a Computer  There are three basic functionalities of a Computer System and they are  1. Input  2. Process  3. Output  But if we look at it in a very broad sense, any digital computer carries out the following five functions: Step 1 - Takes data as input.  Step 2 - Stores the data/instructions in its memory and uses them as required. Step 3 - Processes the data and converts it into useful information.  Step 4 - Generates the output.  Step 5 - Controls...