Skip to main content

Python Is Named After Monty Python, Not the Snake

Ask most newcomers why the language they are learning is called Python and they will mention a snake. It is a reasonable guess. The logo suggests a serpent, the name is one letter off from the reptile, and the association has stuck in countless tutorials and job posts. The reality, though, is much more fun. Python is named after Monty Python, the British comedy troupe, not after any animal. The snake imagery that now surrounds the language is a happy accident, one that its creator never planned and has mostly tolerated ever since.

The origin goes back to December 1989, when Guido van Rossum was looking for a name for the scripting language he was prototyping over the Christmas break at the Dutch research institute CWI. He was a fan of the comedy sketch show Monty Python's Flying Circus, and he wanted an original, short, and slightly unconventional name for his project. In his later recollection, he noted that he was in a slightly irreverent mood and decided to borrow the name from the troupe. There was no deliberate reference to constricting snakes or anything zoological at all.

For a senior developer, the story matters because it explains a surprisingly deep decision about how Python has marketed itself over the decades. The comedy connection set a tone: Python's documentation and community have leaned into playful, approachable, and even silly references for years. The title of the official language FAQ, the various Python conventions celebrating the language, and even the name of the community space all carry that spirit. It is a language that has never been embarrassed to be friendly, and that personality traces straight back to a TV show that ended in the early 1980s.

The snake, of course, did not stay quiet. Because the name collided with a well-known animal, the ecosystem adopted serpent imagery almost immediately. Python's style guide comments and unofficial logos often feature snakes, and many books and courses lean into the visual pun because it is memorable. Guido has said he is not bothered by this. The two identities have coexisted for decades: the official origin is firmly comedic, while the unofficial branding has drifted toward the reptile, and the language quietly enjoys the best of both.

There is a practical lesson here about building things that scale for years. A name is one of the few pieces of your project you cannot easily change once it grows, so a slightly unusual choice can protect you from trademark problems and give you room to own the identity. Python did exactly that. The distinctive spelling and absence of any legal collision with the snake made the name safe to build a global brand on, and the comedy origin gave the community a story to tell.

So when a colleague asks why the language is called Python, skip the snake talk and tell them the truth with a smile. It is a tribute to a comedy troupe, chosen in a holiday mood by a programmer who wanted something short, original, and slightly rebellious. The serpents arrived later, uninvited but never unwelcome, and together they gave Python one of the most recognizable and good-natured identities in all of software.

We use cookies for ads and analytics.