推荐学习书目
› 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 · 3658 views
    This topic created in 3699 days ago, the information mentioned may be changed or developed.
    PHP 有 psr 系列的代码规范可以参考使用

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

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

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