Wednesday, July 1, 2015

Why Python

Python is a general Purpose high level Programming Language which was developed by Guido Van Rossum.  Python is best known for its  high readable code that lets us to achieve a lot of things in very few lines of Code. 

Some of the Features of Python are

Open Source and free – Python is available as Open Source and Free to use

Scripting, Object Oriented, Functional Oriented and Procedural Programming language – Python can be a Script language which is faster for every day tasks. It can also be used as an Procedural language like C and also as Object Oriented Programming language like Java or C++.

Python is Both Compiled and Interpreted Language –

Python Supports for In-built Memory Management and Garbage Collection – Python allows develops for the management of memory as well as cleaning up the resources. Garbage Collections in one of the important feature of Python which cleans things for the developer.

Easy to Read - Python is highly readable and won’t waste a lot of time memorizing the syntax that other programming languages will present you. This allows developers to focus on the programming concepts and paradigms

Language Interoperability – Python excels at gluing other languages together , one can make call to C , C++  Or call other Shell Programs or can invoke other Programming languages. Python is easy to embed in C programs and it is easy to add C modules to python.

Hierarchical Module System – Python uses a modular programming system which organizes functions and classes into a namespaces. Each Python files is defines in a module. Classes, functions or variables that are defined into or imported into the file show up in that module namespace.

Data Structures - Python has lists, tuples, sets, dictionaries, strings, frozen-sets, thread safe queues, and many other types built-in for supporting the basic necessity of a data-Structure

Cross-platform support – Python has a Strong Cross Platform Support by which I can code a Python Program and can send it to a different some one else with OS running

Syntax - Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms

No more curly braces and semi-colons making code shorter and cleaner.
Modes – Python Support for an interactive mode which allows interactive testing and debugging snippets of Code

Extendable - The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C) thus helping developers. Python is also suitable as an extension language for customizable applications.

Databases – Python provides interfaces to all major databases

GUI – Python Supports GUI application development that can be created and ported to system calls


Thus the above are the few advantages of using and learning Python programming language. In the next series of articles we will see the basics and important things when using and writing code in Python

No comments :

Post a Comment