In the Python Lib directory there is a: this.py, it is actually hidden a poem, the source code is as follows:
Copy Code code as follows:
s = "" "Gur Mra BS Clguba, ol Gvz Crgref
Ornhgvshy VF orggre guna htyl.
RKCYVPVG VF orggre guna VZCYVPVG.
Fvzcyr VF orggre guna Pbzcyrk.
Pbzcyrk VF orggre guna PBZCYVPNGRQ.
Syng VF orggre guna ARFGRQ.
Fcnefr VF orggre guna Qrafr.
Ernqnovyvgl PBHAGF.
Fcrpvny pnfrf nera ' G fcrpvny rabhtu GB oernx gur. The
Nygubhtu cenpgvpnyvgl orngf chevgl. The
reebef fubhyq arire cnff fvyragyl.
Hayrff Rkcyvpvgyl Fvyraprq.
Va gur snpr bs nzovthvgl, ERSHFR gur grzcgngvba gb Thrff.
Gurer fubhyq or bar--naq cersrenoyl bayl bar--BOIVBHF Jnl GB QB VG.
Nygubhtu Gung Jnl znl ABG or BOIVBHF ng svefg Hayrff ' er lbh.
ABJ VF orggre guna arire.
Nygubhtu arire VF bsgra orggre guna *evtug*.
Vs gur vzcyrzragngvba vf uneq gb Rkcynva, vg ' F n onq vqrn.
Vs gur vzcyrzragngvba vf rnfl gb Rkcynva, vg ZNL or n tbbq vqrn.
Anzrfcnprf ner Bar Ubaxvat terng vqrn--YRG ' F QB zber BS gubfr! ' "
D = {}
For C in (65, 97):
For I in Range (26):
D[CHR (i+c)] = Chr ((i+13)% + C)
Print "". Join ([D.get (c, c) for C in S])
The output is: (translated from it Plato)
Copy Code code as follows:
The Zen of Python by Tim Peters
"The Zen of Python" by Tim Mu Peter
Beautiful is better than ugly.
Beauty is better than ugliness.
Explicit is better than implicit.
Explicit is better than implicit.
Simple is better than complex.
Simplicity is better than complexity.
Complex is better than complicated.
Complexity is superior to annoying locks.
Flat is better than nested.
Straight is better than nesting.
Sparse is better than dense.
Sparse is better than tight.
Readability counts.
Focus on readability.
Special cases aren ' t Special enough to break the rules.
Special cannot defy the rules,
Although practicality beats purity.
Though practicality is better than purity.
Errors should never pass silently.
Mistakes should not be silent,
Unless explicitly silenced.
Unless expressly silent.
In the face of ambiguity, refuse the temptation to guess.
Face a vague face, refusing to induce speculation.
There should is one--and preferably only one--obvious to do it.
There should be one--and it's best to have only one obvious way to do that.
Although that way may is obvious at the unless you ' re Dutch.
Although this method is not very obvious, unless you are the first Dutch.
Now is better than never.
It's always better than forever.
Although never is often better than now.
Though usually never better than right now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is difficult to explain, this is a bad idea.
If the implementation is easy to explain, it may be a good idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea-let's do more of those!
Namespaces are a great idea to call a person--we should do more in that area!
The author is very "wet" Italy!!