a | b | |
---|
| 0 | + | Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) |
---|
| 0 | + | [GCC 4.4.5] on linux2 |
---|
| 0 | + | Type "help", "copyright", "credits" or "license" for more information. |
---|
| 0 | + | >>> import this |
---|
| 0 | + | The Zen of Python, by Tim Peters |
---|
| 0 | + | |
---|
| 0 | + | Beautiful is better than ugly. |
---|
| 0 | + | Explicit is better than implicit. |
---|
| 0 | + | Simple is better than complex. |
---|
| 0 | + | Complex is better than complicated. |
---|
| 0 | + | Flat is better than nested. |
---|
| 0 | + | Sparse is better than dense. |
---|
| 0 | + | Readability counts. |
---|
| 0 | + | Special cases aren't special enough to break the rules. |
---|
| 0 | + | Although practicality beats purity. |
---|
| 0 | + | Errors should never pass silently. |
---|
| 0 | + | Unless explicitly silenced. |
---|
| 0 | + | In the face of ambiguity, refuse the temptation to guess. |
---|
| 0 | + | There should be one-- and preferably only one --obvious way to do it. |
---|
| 0 | + | Although that way may not be obvious at first unless you're Dutch. |
---|
| 0 | + | Now is better than never. |
---|
| 0 | + | Although never is often better than *right* now. |
---|
| 0 | + | If the implementation is hard to explain, it's a bad idea. |
---|
| 0 | + | If the implementation is easy to explain, it may be a good idea. |
---|
| 0 | + | Namespaces are one honking great idea -- let's do more of those! |
---|
... | |
---|