The Zen of Python(Python禅)

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad 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!

-- by Tim Peters


禅译之vbarter:

美丽胜过简陋。
明晰胜过含蓄。
简单胜过复杂。
复杂胜过难懂。
单一胜过嵌套。
稀疏胜过密集。
易懂不言而喻。
尽管追求实用会牺牲完美,但不能因为特例而打破规则。
错误永远不该被忽略,除非正确性可以被忽略。
面对茫然,不要蒙混。
永远有一个,而且只有一个明晰的方法来解决问题。
也许这个方法开始并不是那么明晰,除非你是荷兰人。
尽管匆忙行事的结果未必会好,但做总比不做来的好。
如果很难解释这个实现,那么它就是一个失败的想法。
如果解释这个实现是如此轻松,那么它就有可能是一个很好的想法。
名字空间是一个伟大的构想----让我们多加利用吧。

---by Tim Peters
---译 :vbarter