python之婵
import this
The Zen of Python, by Tim Peters
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!
python之婵是由Tim Peters,Guido python开发者所写的python指导简介
它是由rot13(回转十三位)替换式密码。二十六个字母分成两对一一对应,对于非字母字符还是保持原样,不进行变化。
《python的禅宗》(The Zen of Python),作者蒂姆·彼得斯(Tim Peters)
美丽胜过丑陋。
显性比隐性好。
简单比复杂好。
多样总比复杂好。
平面比嵌套好。
稀疏比稠密好。
可读性。
特殊情况不足以打破规则。
尽管实用性比纯洁。
错误不应该悄无声息地过去。
除非显式地沉默。
面对模棱两可的代码,拒绝猜测的诱惑。
应该有一种——最好只有一种——明显的方法来做这件事。
虽然这种方式一开始可能并不明显,除非你是荷兰人(贬义词)。
现在有总比没有好。
虽然从来没有比现在更好。
如果实现很难解释,那么这是一个坏主意。
如果实现很容易解释,那么这可能是一个好主意。
命名空间是一个很棒的主意——让我们做更多!
意思就是python是一种清晰,优雅,简单的编程语言