Friday, May 27, 2011

Python 俱乐部 [Python俱乐部]

Python 俱乐部

Python 应用

Python 之外


Zen of Python

Python 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> 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! >>>




请参考 编辑器格式 来使你编辑的页面能更好的呈现给大家,你只要花1分钟就能掌握基本的格式。

  • 如果你有更好的方法,希望能能够和我们分享
  • 如果你看到好的文章,希望你能够将其和我们分享
  • 如果你有问题,你也可以通过我有问题给我们提问,我相信大家会给你很多提示

我们的口号:让更多人用 Python

No comments:

Post a Comment