In Greek mythology, Python is the name of a a huge serpent and sometimes a dragon. Python had been killed by the god Apollo at Delphi. Python was created out of the slime and mud left after the great flood. He was appointed by Gaia (Mother Earth) to guard the oracle of Delphi, known as Pytho.
The programming language Python has not been created out of slime and mud but out of the programming language ABC. It has been devised by a Dutch programmer, named Guido van Rossum, in Amsterdam.
Origins of Python
Guido van Rossum wrote the following about the origins of Python in a foreword for the book "Programming Python" by Mark Lutz in 1996:
"Over six years ago, in December 1989, I was looking for a "hobby" programming project that would keep me occupied during the week around Christmas. My office (a government-run research lab in Amsterdam) would be closed, but I had a home computer, and not much else on my hands. I decided to write an interpreter for the new scripting language I had been thinking about lately: a descendant of ABC that would appeal to Unix/C hackers. I chose Python as a working title for the project, being in a slightly irreverent mood (and a big fan of Monty Python's Flying Circus)."
Warnung:
Python2 is not supported anymore and shouldn't be used! Please consult our Python3 tutorial:
"If you use the original World Wide Web program, you never see a URL or have to deal with HTML. That was a surprise to me that people were prepared to painstakingly write HTML." (Tim Berners Lee)
If you have the choice working with Python 2 or Python 3, we recomend to switch to Python 3!
You can read our Python Tutorial to see what the differences are.
Help Needed
This website is free of annoying ads. We want to keep it like this. You can help with your donation:
The term "memoization" was introduced by Donald Michie in the year 1968. It's based on the Latin
word memorandum, meaning "to be remembered". It's not a misspelling of the word memorization, though
in a way it has something in common. Memoisation is a technique used in computing to speed up programs.
This is accomplished by memorizing the calculation results of processed input such as the
results of function calls. If the same input or a function call with the same parameters is used, the
previously stored results can be used again and unnecessary calculation are avoided.
Memoization can be explicitly programmed by the programmer, but some programming languages like Python
provide mechanisms to automatically memoize functions.
Function Decorators in Python
Please continue with our article on Memoization in our Python3
tutorial. All the examples are running in
Python2.x as well!