Python this python之禅

网友投稿 694 2022-05-30

环境信息

ModelArts

Notebook - pytorch1.4-cuda10.1-cudnn7-ubuntu18.04

JupyterLab - Notebook - Conda-python3

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!

相关链接

Python入门篇

Python进阶篇

Python应用篇

Python this python之禅

帮助文档-AI开发平台ModelArts

【生长吧!Python】有奖征文火热进行中

备注

欢迎各位同学一起来交流学习心得^_^

在线课程、沙箱实验、认证、论坛和直播,其中包含了许多优质的内容,推荐了解与学习。

AI开发平台ModelArts Python

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:九十一、Python的GUI系列 | QT组件篇
下一篇:【讨论】瀑布模式有什么不足?
相关文章