Birth of Python (1989–1991)
Python · History & Evolution · Run with python3
Explanation
Python was created by Guido van Rossum during the Christmas holidays of 1989 at Centrum Wiskunde & Informatica (CWI) in the Netherlands. Guido wanted a successor to the ABC language that fixed its shortcomings — better error handling, extensibility via C modules, and a cleaner syntax. He named it after Monty Python's Flying Circus. The first public release, Python 0.9.0, appeared in February 1991 on the alt.sources newsgroup.
Real-World Scenario
ABC was excellent for teaching but couldn't interface with the OS or C libraries. Guido's immediate need was scripting the Amoeba distributed OS — tasks that required a language both expressive enough for rapid scripting and powerful enough to call C code. Python 0.9.0 already had classes with inheritance, exception handling, and functions.
Quick Snippet
# Python's philosophy from day one: readable, explicit, simple
def greet(name):
return f"Hello, {name}!"
print(greet("World"))Full Example
# Compile: python3 birth_of_python.py
# Output:
# Hello, World!
# Type: <class 'list'>
# First-class function: 8
def greet(name):
return f"Hello, {name}!"
print(greet("World"))
# Everything is an object — functions are first-class
def apply(func, value):
return func(value)
double = lambda x: x * 2
print(f"Type: {type([])}")
print(f"First-class function: {apply(double, 4)}")
python3 birth_of_python.py