Python programming language: a name born of Monty Python
Python is named after a comedy show, not a snake. The official Python FAQ explains that when Guido van Rossum began implementing the language, he was also reading the published scripts from "Monty Python's Flying Circus," a BBC comedy series from the 1970s. He thought he needed a name that was short, unique, and slightly mysterious, so he decided to call the language Python. The Python tutorial puts it more bluntly: the language is named after the show and has nothing to do with reptiles, and making references to Monty Python skits in documentation is not only allowed but encouraged.
The FAQ even has a question about it: do you have to like Monty Python's Flying Circus? Its answer is no, but it helps. That small joke is typical of how the language presents itself, and it began with its creator. Van Rossum wrote in a foreword published on python.org that he started the language in December 1989, during a Christmas week when his Amsterdam research lab was closed, as a hobby project. He chose Python as a playful working title that reflected his fondness for the comedy troupe.
His own history gives more of the setting. Van Rossum joined CWI, the Centre for Mathematics and Computer Science in Amsterdam, in late 1982. He first worked in the ABC group, then moved to the Amoeba group, and after 1991 to the multimedia group. ABC, a teaching language, gave him the key inspiration for Python, and he borrowed what he liked from it while trying to fix what he saw as its problems. The immediate motivation was Amoeba, a distributed micro-kernel system. Developing system administration tools in C was too slow, and the Bourne shell could not handle Amoeba's finer-grained primitives, so he wanted a language to bridge the gap between C and the shell. The Python FAQ quotes him on the same point: a scripting language with a syntax like ABC but with access to the Amoeba system calls would fill the need.
The name came out of a project with a history of naming trouble. According to Van Rossum's account on the Python History blog, the ABC team had struggled to find a name. Their working name, B, was dropped because an older, better-known language had the same name, and a public contest produced no usable entry. He chose Python casually, drawing on the show he admired. He wrote that the name suited the skunkworks nature of the project, fit the tradition of naming languages after famous people, and matched the Amoeba group's habit of naming programs after TV shows.
The snake came later and he resisted it. Van Rossum says he held out against the snake imagery for years and finally accepted it when O'Reilly put a snake on the cover of its first Python book. That helps explain why the tutorial still makes a point of reminding readers that the name has nothing to do with reptiles.
Work moved quickly after the Christmas break. Van Rossum began in late December 1989 and had a working version by early 1990. His first code was an LL(1) parser generator called pgen, which is still part of the Python source. Sjoerd Mullender and Jack Jansen were early key developers. Python was never formally funded at CWI, and the History blog describes it as having grown as a tool used by the Amoeba and multimedia groups.
The FAQ says that in February 1991, after just over a year of development, van Rossum decided to post to USENET. The History blog gives the date: he released Python publicly on February 20, 1991, as version 0.9.0 on alt.sources, under a license based on the MIT/X11 license. The FAQ cites the first published article about the language, "Interactively Testing Remote Servers Using the Python Programming Language," which van Rossum wrote with Jelke de Boer in the CWI Quarterly in December 1991.
His reasons for building it show the same practical streak as the name. The FAQ quotes him saying he had extensive experience with implementing an interpreted language in the ABC group at CWI, and had learned a lot about language design from working with that group. He also says he had some experience with Modula-2+ and had talked with the designers of Modula-3, which he credits as the origin of the syntax and semantics used for exceptions and some other features. The foreword adds that ABC never caught on with Unix and C programmers, partly because it was a closed system with only basic input and output, and that he decided not to repeat that mistake.
So the name has two parts: a joke chosen for being short, unique, and slightly mysterious, and a working-lab culture of naming software after television. Monty Python supplied the first, and CWI's Amoeba group supplied the second.
- Python documentation, General Python FAQ — docs.python.org
- Python documentation, Whetting your appetite — docs.python.org
- The History of Python, Personal history, part 1: CWI — python-history.blogspot.com
- python.org, Foreword for Programming Python — www.python.org