The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex ...
最近在学python,今晚看了一个名叫 python全栈之路系列 的关于python的相关博客,其中开篇就说到了python的设计哲学:优雅,简洁。。。 可以在编译器里面输入如下语句来查看python语言的设计哲学: 中英文释义如下: 然后,我尝试了里面的一段demo代码: 运行结果是可以成功运行的,但打印出来的结果前面,专门提及了python的设计哲学,说明,这段代码是不够简洁高效的。。。 突然 ...
2017-08-22 23:31 0 10020 推荐指数:
The Zen of Python, by Tim Peters Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex ...
在交互式解释器中输入 import this 就会显示 Tim Peters 的 The Zen of Python import this 全文内容对照翻译如下: Python 之禅 中英文对照 The Zen ...
原文: http://blog.csdn.net/lanphaday/article/details/2151918 凡是用过 Python的人,基本上都知道在交互式解释器中输入 import this 就会显示 Tim Peters 的 The Zen ...
dongweiming的博客 前言 我这个博客一直都是一些技术分享,show code的地方,我从来没有写过个人生活或者情感杂谈,当然我也从来没有谈论过我对什么东西的喜恶. 很多人喜欢喷XX语言,喜欢 ...
凡是用过 Python的人,基本上都知道在交互式解释器中输入 import this 就会显示 Tim Peters 的 The Zen of Python,但它那偈语般的语句有点令人费解,所以我想分享一下我对它的体会,顺带给出我的翻译。 翻译和解 ...
针对今天大佬提了一嘴,特意的去了解了一下Python之禅,满足一下自己的求知欲。 Python之禅,英文又叫做 The Zen of Python,它总结了Python的风格,总结出的一种标准,让代码变得更加优美,干练,益读。 作为一个复活节彩蛋,我们需要输入在import ...
The Zen of Python, by Tim Peters Beautiful is better than ugly. 优美胜于丑陋。 Explicit is better than implicit. 明确胜于隐晦。 Simple is better than ...
...