Curious Minds

Clear answers to science and history questions

Why Is It Called Python? Origins of the Name Explained

· 5 min read · Science

Python is named after the British comedy group Monty Python, not the snake. The language’s creator, Guido van Rossum, was a fan of the group’s television series Monty Python’s Flying Circus and chose the name as a tribute while developing the language in the late 1980s.

Background of Python’s Creation

  • Python was created by Dutch programmer Guido van Rossum in December 1989 at the Centrum Wiskunde & Informatica (CWI) in the Netherlands.
  • Van Rossum began the project during the Christmas holidays as a successor to the ABC programming language, aiming to address ABC’s limitations while preserving its readability and ease of use.
  • The first version, Python 0.9.0, was released in February 1991 and included features like exception handling, functions, and core data types such as lists, tuples, and dictionaries.
  • Python was designed with an emphasis on code readability, simplicity, and a philosophy that favored explicit, unambiguous syntax.
This context is essential: Python was developed not in a corporate lab or academic pressure-cooker, but as a personal project guided by humor and practicality. Van Rossum has stated in multiple interviews that he wanted a name that was short, unique, and slightly mysterious—qualities that “Python” fulfilled, even if it risked confusion with the reptile.

Why Monty Python Influenced the Name

Guido van Rossum has openly acknowledged his admiration for Monty Python’s Flying Circus, a surreal British comedy show that aired from 1969 to 1974. The show’s absurdist humor, wordplay, and unconventional structure resonated with van Rossum during his formative years.

  • The name “Python” was not meant to reflect the language’s function or structure but served as an inside joke and a personal nod to creativity and irreverence.
  • Many early Python documentation examples and references include Monty Python-themed jokes, such as references to the “Spam” sketch (which indirectly inspired the term “spam” for unsolicited email).
  • The official Python documentation once included a reference to the “Holy Grail” and “Dead Parrot” sketches, and the Python Package Index (PyPI) was humorously registered under the domain name “pypi.org” rather than a more technical alternative.
This comedic influence persists in Python’s culture. For example, the metasyntactic variables used in Python examples are often “spam,” “eggs,” and “parrot,” instead of the more common “foo” and “bar” used in other languages.

Common Misconceptions About the Name

Many assume Python is named after the snake due to its logo, which features two intertwined snakes. However, this visual branding came after the name was chosen and was adopted to create a memorable identity, not to reflect the origin of the name.

  • The snake imagery was introduced later by designers to make the language more visually distinctive, especially in logos and educational materials.
  • Despite the reptilian association, van Rossum has emphasized that the name was never intended to evoke animals or predatory behavior.
  • Some speculate that the name reflects the language’s ability to “swallow” other languages or systems, but this is a post-hoc interpretation with no basis in van Rossum’s original intent.
This confusion is understandable but incorrect. The language’s documentation, naming conventions, and van Rossum’s own writings consistently point to Monty Python as the true namesake.

How Python’s Naming Reflects Its Philosophy

The choice of a humorous, non-technical name aligns with Python’s broader design philosophy, summarized in the “Zen of Python” (PEP 20), a collection of guiding principles for writing computer programs in Python.

  • “Beautiful is better than ugly.”
  • “Explicit is better than implicit.”
  • “Readability counts.”
  • “If the implementation is hard to explain, it’s a bad idea.”
Choosing a name rooted in comedy rather than technical jargon reflects Python’s emphasis on accessibility and human-centered design. Unlike languages named after mathematicians (e.g., Ada, Pascal) or acronyms (e.g., BASIC, FORTRAN), Python’s name signals a departure from formality—a language meant to be approachable, even enjoyable, to use.

Impact of the Name on Adoption and Culture

The name “Python” has contributed to the language’s welcoming and inclusive community culture. The humorous origin lowers the barrier to entry for beginners and fosters a sense of playfulness in learning and development.

  • Python conferences often have playful names, such as PyCon, PyData, and EuroPython, and feature themed talks and costumes.
  • The community frequently uses Monty Python references in tutorials, memes, and documentation, reinforcing a shared identity.
  • The name’s uniqueness makes it highly searchable, which has aided discoverability and learning resources online.
This cultural aspect is not trivial. Studies in programming language adoption suggest that community tone and approachability influence how quickly developers adopt a language, and Python’s name plays a subtle but real role in this dynamic.

Frequently Asked Questions

Is Python named after the snake?

No, Python is not named after the snake. The language’s creator, Guido van Rossum, named it after the British comedy group Monty Python as a personal tribute. The snake imagery in the logo was added later for branding purposes.

Why did Guido van Rossum choose the name Python?

Van Rossum chose the name because he was reading scripts from Monty Python’s Flying Circus at the time and wanted a name that was short, unique, and slightly mysterious. He has stated that he wanted the language to have a fun and approachable identity.

Does the Python logo have anything to do with Monty Python?

No, the Python logo, which features two snakes, does not reference Monty Python the comedy group. The snake design was chosen for visual appeal and symbolism related to programming, not comedy. The connection to the TV show is purely in the name and community culture.

Are there other programming languages named after comedy shows?

Python is unique in this regard. Most programming languages are named after people, mathematical concepts, or acronyms. While some esoteric languages (like Ook! or Brainfuck) have humorous elements, none are directly named after comedy troupes like Monty Python.

Did the name help Python become popular?

The name likely contributed to Python’s accessibility and memorability. A fun, non-technical name may have made the language seem less intimidating to beginners, and its uniqueness aids searchability. However, its popularity is primarily due to its design, versatility, and strong community support.

Is the name Python trademarked?

Yes, the name Python and the Python logo are trademarked by the Python Software Foundation (PSF), a non-profit organization that oversees the development and promotion of the language. The PSF ensures that the name is used appropriately in commercial and educational contexts.

In this article
  1. Background of Python’s Creation
  2. Why Monty Python Influenced the Name
  3. Common Misconceptions About the Name
  4. How Python’s Naming Reflects Its Philosophy
  5. Impact of the Name on Adoption and Culture
  6. Frequently Asked Questions