Python之禅
来源:互联网 发布:java招聘广州 编辑:程序博客网 时间:2024/05/21 06:36
在交互式解释式中导入this模块就能看到英文版本的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!
阅读全文
0 0
- PEP20之python之禅
- python 之禅
- Python之禅
- Python之禅
- python之禅
- Python 之禅
- Python之禅
- python之禅&function
- Python之禅
- Python之禅
- Python之禅
- Python之禅
- Python之禅
- Python之禅
- Python之禅道
- python之禅
- python之禅
- python之禅
- Hibernate查询
- FreeSwitch的安装、配置、使用
- POJ3734-Blocks
- Senior Pan HDU
- AS实用冷门技术
- Python之禅
- JAVA堆栈图解
- HDOJ1238 C++字符串函数水题
- nginx.conf配置详解
- HDU 6152 Friend-Graph
- 2017年8月23日训练日记
- 第二篇 自制系统内核
- JAVA学习56_用UltraEdit代替“笨重”的IDE,实现轻巧编程!
- 迁移学习和finetune的区别