Python, for easier programming

Indentation de Python
Python code must be indicated
(Monty Python at work)

One day is enough to start programming with Python and you can write scripts in a few hours that require days with other languages. It is a widely used and portable language.
It has powerful functions such as lists, tuples, dictionaries, which makes it very easy to translate ideas into lines of code.
These integrated lists make it the successor to Awk and any other word processing language.  

The origin of the name is a tribute to the humorous group "Monty Python," but the snake of the same name still became a symbol of the language .
Language author Guido van Rossum worked at Google from 2005 to 2012 and has been at Dropbox ever since. However, Dropbox converted most of its programming to Go in 2014, which is the current trend in web services.

Evolution

Developed from the ABC language, which was a model when simplifying the programming language (variables even retained their value from session to session), Python was initially a very easy-to-read language.
But programmers never resist their evil daemon for long, which encourages them to write increasingly intricate and cryographic code, leading the language to evolve in a complication that brings it closer to the C++ language over time. The same function in one language may become less and less understandable, to the delight of the "expert."

Despite appearing in 2008, Python 3 is still less used in 2016 than in Python 2. Incompatibility with previous versions without performance improvement prevents migration. The fear that existing libraries will be incompatible, which is often the case, also slows down its acceptance.
That is why an unofficial version of the interpreter, Thauton, appeared, which brings Python 2 new features introduced in 3 as async/awais, for example.

Several projects are designed to speed up Python by compiling it in C using CPython, or using a virtual machine with Jython. The Unladen Swallow project to run Python on LLVM was abandoned due to technical obstacles, including the inability to be compatible with libraries in C.

In fact, Python, as a corporate language, has reached a dead end: the standard interpreter is not intended for the modern multi-core processor environment. It's too slow. Alternative implementations can be used, one of which uses JIT. But in this case, compatibility with extensions and libraries, which are actually the first reason for choosing this language, is lost.

Dynamic scenario

This scripting language can be used on the server or as an application language.

Python 3.0 changes the syntax of the language, making it partially incompatible with previous versions, to the point that it is considered a slightly new language among older users.

What is often criticized language, regardless of version:

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

Code examples

Show word letters:

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

Show list items:

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

Should show: 2 3 4...

Wil... else

Adding else to the while control structure is unique to Python. Let's look at an example:

while x < 10 :
   x = x + 1
else:
   print("x = 10")

The else clause is included when the while condition is no longer true, so once x is worth 10.

It will be said that this provision is a little superfluous, because this is always the case when you leave the loop, but, nevertheless, there is an excuse for this syntax:

while x < 10:
   x = x + 1
   if mytaylor == rich: break
else:
   print("x = 10") 

It can be seen that you can exit the loop regardless of the x value, and the else clause is not always included. It depends only on the value of x.

It remains that exiting the loop regardless of state is an interrupt in program logic.

Toolbox

Python programs are easier to implement with free EDI like Eclipse, for which you can find many examples of use on the Web, or, if you are more involved, commercial software like PyCharm.

Here is a list of the main tools for writing Python scripts:

Programming and dated languages - Asm.js- - BASIC- C- -C++ # C- - Darth-Eiffel - Guo- --JavaJavaScript--Julia PascalPHP- - - Python- - Prolog RubyLa ScalaScriptolSwift TypeScriptHTMLVasmXMLXAML SQL