What is the Zen of Python?

The Zen of Python is an Easter Egg that very long time Pythoneer (Tim Peters) directed the directing principals for the language’s style principals into 20 aphorisms, of which just 19 of them are jotted down.

How to access this Zen of Python Easter Egg

By importing this into your Python application, it will right away print as follows:

What is the Zen of Python?

Gorgeous is much better than awful.
Explicit is much better than implicit.
Simple is much better than complex.
Complex is much better than made complex.
Flat is much better than embedded.
Sporadic is much better than thick.
Readability counts.
Diplomatic immunities aren’t unique sufficient to break the guidelines.
Although functionality beats pureness.
Mistakes ought to never ever pass quietly.
Unless clearly silenced.
In the face of obscurity, decline the temptation to think.
There ought to be one– and ideally just one– apparent method to do it.
Although that method might not be apparent in the beginning unless you’re Dutch.
Now is much better than never ever.
Although never ever is frequently much better than right now.
If the execution is difficult to discuss, it’s a bad concept.
If the execution is simple to discuss, it might be an excellent concept.
Namespaces are one beeping excellent concept– let’s do more of those!

Like this post? Please share to your friends:
Leave a Reply

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: