& Quot; Poetry & quot; hidden in Python

Source: Internet
Author: User

"Poetry" hidden in Python and hidden in python

In the Lib directory of Python, There Is A: this. Py (or enter import this in the interactive interpreter) which is actually a hidden poem.

The Zen of Python, by Tim Peters Zen of Python by Tim Peter Beautiful is better than uugly. Beautiful is better than ugly. Explicit is better than implicit. It is better than implicit. Simple is better than complex. Simple is better than complicated. Complex is better than complicated. The complexity is better than the annoying lock. Flat is better than nested. Flat is better than nested. Sparse is better than dense. Sparse is better than closeness. Readability counts. Read-only. Special cases aren't special enough to break the rules. In particular, Although practicality beats purity cannot contradict the rules, Although it is more practical than pure. Errors shoshould never pass silently. Errors should not be silent, Unless explicitly silenced. Unless explicitly silenced. In the face of ambiguity, refuse the temptation to guess. In the face of fuzzy face, refuse to induce speculation. There shoshould be one -- and preferably only one -- obvious way to do it. There should be one -- and it is best to have only one obvious method to do this. Although that way may not be obvious at first unless you're Dutch. Although this method is not obvious, unless you are the first Dutch. Now is better than never. It is always better. Although never is often better than * right * now. Although it is never better than immediate. If the implementation is hard to explain, it's a bad idea. If the implementation is hard to explain, this is a bad idea. If the implementation is easy to explain, it may be a good 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! Namespace is a great idea for people to scream-we should do more in that respect!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.