![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码规范
文章平均质量分 87
Wake When Septemper
这个作者很懒,什么都没留下…
展开
-
pep8规范
参考链接:https://blog.csdn.net/ratsniper/article/details/78954852#indentation-缩进 原文链接:http://legacy.python.org/dev/peps/pep-0008/ item detail PEP 8 Title Style Guide for Python Code Versi...转载 2018-08-30 10:06:40 · 701 阅读 · 0 评论 -
IdiomPython
链接: 《30个有关Python的小技巧》 压缩列表的命令不熟悉,注意下 https://python-web-guide.readthedocs.io/zh/latest/idiom/idiom.html 《Python程序员的10个常见错误》 其中常见错误1中 >>> def foo(bar=[]): # bar是可选参数,如果没有指明的话,默认值...转载 2018-10-05 13:51:20 · 499 阅读 · 0 评论 -
Python编码规范
编码风格 模块、类和函数请使用docstring格式注释,谷歌docstring注释 https://zh-google-styleguide.readthedocs.io/en/latest/google-python-styleguide/python_style_rules/#comments https://python-web-guide.readthedocs.io/zh/lat...原创 2018-09-29 23:00:49 · 497 阅读 · 0 评论