What language is Python written in

Python course


What does the history of Python have to do with the alphabet? Both start with ABC. In the case of Python, the programming language ABC.

The language was developed in the early 1990s by Guido van Rossum at the Center for Mathematics (Centrum voor Wiskunde en Informatica) in Amsterdam. It was originally developed as a successor to the ABC teaching language and was supposed to run on the distributed Amoeba operating system. Guido van Rossum had also contributed to the development of the language ABC, so that his experiences with ABC also flowed into Python.

Even if we are not stingy with Python snakes on this website, the name of the programming language Python has nothing to do with the snakes. For Guido van Rossum, the British comedian group Monty Python with their legendary Flying Circus was the godfather of the name.

Guido van Rossum wrote in 1996 about the origin of the name of his programming language: "More than six years ago, in December 1989, I was looking for a 'hobby' programming project that could keep me busy for the week around Christmas. My office ... closed, but with a pc and nothing else in mind, so I decided to write an interpreter for the new scripting language I'd been thinking about lately: a descendant of ABC that UNIX / C hackers liked I chose Python as the working title for the project because I was in a slightly disrespectful mood (and a big fan of Monty Python's Flying Circus). "

Nevertheless, associations with snakes are possible and useful: Just think of the Python toolkit "Boa" or the Cobra programming language. There is also a snake in the Python logo.

Guido van Rossum said in an interview: "At the beginning of the 80s I was working on the ABC language with a team at the CWI. I had no idea how ABC would affect Python. I thought of my experiences and the frustration with ABC, and I decided to create a simple scripting language that should have the advantages of ABC, but not the problems / disadvantages, resulting in a simple virtual machine, simple parser, simple runtime, and syntax that uses indentation to group expressions , and a few data types: Dictionaries, Lists, Strings, and Numbers / Integers. "

The zen of Python

How Python evolved

Guido van Rossum published the first version of Python (v. 0.9.0) in February 1991. This already included exception handling, functions and the core data types. Python v. 0.9.0 was already object-oriented and modular.

Python v. 1.0, released in January 1994, came with functional programming tools like lambda, map, filter, and reduce.

Python v. 2.0 provided the list abstraction (list comprehension), a complete garbage collector and supported Unicode. Python v. 2.0 was introduced in October 2000.

Python had to thrive for another 8 years before version 3.0 was released. Python V. 3.0 is also known under the names "Python 3000" and "Py3K". One focus in 3.0 was on the elimination of redundant program parts in order to fulfill the 13th law of Zen of Python: "There should be one - and preferably exactly one - obvious way of doing it." However, we cannot go into the main differences at this point.

Some changes in Python 3.0:

  • Printing is now a function
  • Views and iterators instead of lists
  • The rules for ordering comparisons have been simplified. E.g. a heterogeneous list cannot be sorted because all elements of a list have to be comparable with each other.
  • There is only one integer type left, i. H. Int. long is also int.
  • Division of two integers returns a float instead of an integer. "//" can be used to have the "old" behavior.
  • Text Vs. Data instead of Unicode Vs. 8 bits