Python, for easy programming

Python indenting
Python code must be indented
(Monty Python at work )

A day is enough to start programming with Python and you can write scripts in a few hours while you need for days with some other languages​​. Is is an interpreted language widely used and cross-platforms.
It has powerful features such as lists, tuples, dictionaries that allow you to translate your ideas into lines of code easely.
These integrated lists make it a successor to Awk and any other word processor language.

The name is a tribute to the comedy group "Monty Python", but the snake with the same name is also the symbol of the language.
The creator of the language, Guido Van Rossum, was Google employee from 2005 to 2012 and works for Dropbox since. However, in 2014, Dropbox migrated a large part of its software to Go, a current trend in web services.


Designed after the ABC language that was a model for simplifying a programming language (the variables for example retain their value from one session to another), Python is initially a very easy to read language.
But programmers never resist their evil demon that incites to write more and more convoluted and crytographic code, bringing the language to have an evolution in the complication that with the time make it approaching C++. The same function in the same language can become less and less comprehensible to the delight of the "genius programmer".

Although if it is here since 2008, Python 3 still knows only marginal use in 2013 compared to Python 2. The incompatibility with previous versions, without making performance gain, discourages transition. Fear that the existing libraries are not compatible, which is often the case, also hinders its adoption.

Several projects aim to accelerate Python, by compiling it to C with CPython, or to a virtual machine with Jython. The Unladen Swallow project to run Python on LLVM was abandoned due to technical obstacles, including impossible compatibility with C libraries.

In fact Python, as a corporate language is at an impasse: the standard interpeteur is not designed for the modern environment of multi-core processors. It is too slow. Alternative implementations may be used including one that uses a JIT. But in this case we lose compatibility with extensions and libraries, which are actually the primary reason to choose this language.

Dynamic scripting

This scripting language may be used on the server or for applications.

Python 3.0 changes the syntax of the language which makes it partially incompatible with the previous ones, to the point that it is considered like a new language by early adopters.

That is often blamed in the language, regardless the version:

You can compare the syntax of Python, Ruby and PHP, to judge the readability.

Some examples of code...

Displaying chars of a string:

s = "demo"
for c in s:
print c

Displaying elements of a list:

listdemo = [1,2,3] + [4,5]
subdemo = listdemo[1:3]
for num in subdemo:
    print num

Should print: 2 3 4...

We can make Python programs more easily with a free IDE like Eclipse for which numerous examples of use can be found on the Web, or if we are more involved, a commercial software like PyCharm.

Here is a list of the most popular tools to make Python scripts:
