What is the Zen of Python?

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

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?

Stunning 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 adequate to break the guidelines.
Although functionality beats pureness.
Mistakes must never ever pass quietly.
Unless clearly silenced.
In the face of uncertainty, decline the temptation to think.
There must 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 tough to discuss, it’s a bad concept.
If the execution is simple to discuss, it might be a great concept.
Namespaces are one beeping fantastic 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: :???: :?: :!: