推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
silov
V2EX  ›  Python

Python 代码规范问题

  •  
  •   silov · Aug 19, 2016 · 3767 views
    This topic created in 3732 days ago, the information mentioned may be changed or developed.
    PHP 有 psr 系列的代码规范可以参考使用

    Python 有类似的代码规范要求么?
    8 replies  •  2016-08-21 13:40:13 +08:00
    cszhiyue
    cszhiyue
    Aug 19, 2016 via Android
    3
    pep8
    ldsink
    ldsink
    Aug 19, 2016
    4
    v2ex 右边导航栏 Styles , PEP8 等。
    linuxchild
    linuxchild
    Aug 19, 2016 via iPhone
    5
    pep8 就挺好的
    silov
    silov
    OP
    Aug 19, 2016
    6
    @ruanimal @kanchi240 @cszhiyue @ldsink @linuxchild

    收到,感谢各位
    monkeylyf
    monkeylyf
    Aug 20, 2016
    7
    PEP8.
    个人并不是很推荐 google 的 python 规范.
    zerofiny
    zerofiny
    Aug 21, 2016
    8
    PEP8

    一直用 vim + python-mode 写代码 强制 pep8 代码标准 不然就警告
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   753 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 23:02 · PVG 07:02 · LAX 15:02 · JFK 18:02
    ♥ Do have faith in what you're doing.