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.[a] 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.[b] 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!
Zen of Python
【Python 之禅】是编写影响 Python 编程语言设计的计算机程序的 19 条“指导原则”的集合。软件工程师 Tim Peters 编写了这组原则,并于 1999 年将其发布在 Python 邮件列表中。Peters 的列表中留下了第 20 个原则“让 Guido 填写”,指的是 Python 语言的原作者 Guido van Rossum。第 20 条原则的空缺尚未填补。 Peters 的 Python Zen 被列为该语言官方 Python 增强提案中的第 20 项,并已发布到公共领域。它也作为复活节彩蛋包含在 Python 解释器中,名叫this.py的 文件 可以通过输入 import this 来显示它。
2020 年 5 月,Barry Warsaw 为歌词创作了音乐。
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.[a]
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.[b]
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!
SQL没有
雖然不是武俠迷-但也覺得那位擔心屠龍的網友是在這一點上多慮了-移花的解析很合理-站-;))_。。
智慧做人不容易。贊