推荐学习书目
› 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
wangmouren
V2EX  ›  Python

有哪些代码风格比较好的 Python 库推荐一下

  •  
  •   wangmouren · Apr 19, 2018 · 4755 views
    This topic created in 3121 days ago, the information mentioned may be changed or developed.
    自己代码写得不够多,所以开发时很多问题很疑惑,比如数据该怎么封装,哪些该抽象成一个类,哪些东西该继承等等。
    10 replies  •  2018-04-20 00:47:23 +08:00
    wangmouren
    wangmouren
    OP
    Apr 19, 2018
    1
    对了,我平常做数据分析清洗的比较多
    hastelloy
    hastelloy
    Apr 19, 2018 via Android
    2
    lz 首先想到的难道不是 pandas
    aborigine
    aborigine
    Apr 19, 2018
    3
    数据清洗不用 pandas 吗
    wangmouren
    wangmouren
    OP
    Apr 19, 2018
    4
    @hastelloy
    @aborigine
    不是,我这里不是说库的使用问题,而是自己希望阅读一些库代码来提高自己的代码质量。
    510908220
    510908220
    Apr 19, 2018❤️2
    5
    Kenneth Reitz 大神在这里头推荐

    http://docs.python-guide.org/en/latest/writing/reading/
    qs
    qs
    Apr 19, 2018
    6
    +1
    wangmouren
    wangmouren
    OP
    Apr 19, 2018
    7
    @510908220 谢谢,我打算先找个代码少的看起来。
    xiaojiaok
    xiaojiaok
    Apr 19, 2018
    8
    +1
    congeec
    congeec
    Apr 19, 2018 via iPhone
    9
    Tornado
    lolizeppelin
    lolizeppelin
    Apr 20, 2018 via Android
    10
    openstack
    因为要做各种兼容 封装得特厉害 我抄来用得时候要砍好几层

    你去看 oslo 库怎么做的 还有 keystone 里的处理
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1866 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 16:58 · PVG 00:58 · LAX 08:58 · JFK 11:58
    ♥ Do have faith in what you're doing.