What’s the Zen of Python?

The Zen of Python is an Easter Egg that very long time Pythoneer (Tim Peters) channeled the guiding principals for the language’s design principals into 20 aphorisms, of which solely 19 of them are written down.

entry this Zen of Python Easter Egg#

By importing this into your Python utility, it would instantly print as follows:

What’s the Zen of Python?#

Stunning is healthier than ugly.
Express is healthier than implicit.
Easy is healthier than complicated.
Complicated is healthier than difficult.
Flat is healthier than nested.
Sparse is healthier than dense.
Readability counts.
Particular instances aren’t particular sufficient to interrupt the principles.
Though practicality beats purity.
Errors ought to by no means cross silently.
Except explicitly silenced.
Within the face of ambiguity, refuse the temptation to guess.
There ought to be one– and ideally just one –apparent solution to do it.
Though that manner will not be apparent at first until you’re Dutch.
Now’s higher than by no means.
Though by no means is commonly higher than proper now.
If the implementation is tough to clarify, it’s a nasty thought.
If the implementation is straightforward to clarify, it might be a good suggestion.
Namespaces are one honking nice thought – let’s do extra of these!