Python Easter Egg
RogueHalo (404)

Not many people actually know about this easter egg in python.

By typing import this into either a python interpreter or a python shell you can be presented with Tim Peters' 20 aphorisms Guiding principles for writing Python, however, he only wrote down 19, why? I don't know.

Anyway, I'll leave you with that, if you know of any more easter eggs, leave a comment with it!

Have a great Day!

You are viewing a single comment. View All
eaz (8)

ah yes, the fabled zen of python
the secret 20th part is, because import antigravity makes xkcd canonically part of the python stdlib

RogueHalo (404)

@eaz Ah, thanks for that, I never knew that.