V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
irainy
V2EX  ›  Python

PyTips everyday.

  •  1
     
  •   irainy · Mar 8, 2016 · 2226 views
    This topic created in 3711 days ago, the information mentioned may be changed or developed.

    Python Tips

    每天一条有用的 Python 小提示

    每天花费不到两分钟,学习一条可以提高 Python 代码质量,更 Pythonic 的方法解决问题的小技巧。

    主要基于 Python 3.5 并尽量做到向后兼容(至 Python 2.7 )。


    计划每天写一条,先写满 0x00 ~ 0xFF 再说。
    每天花大概 1 ~ 2 个小时来写,欢迎大家关注·监督·支持!
    比较难的是每天找到一个合适的话题、问题或者场景,所以希望大家可以提供任何值得分享的问题、经验!

    https://github.com/rainyear/pytips

    2 replies    2016-03-08 20:59:03 +08:00
    bdbai
        1
    bdbai  
       Mar 8, 2016 via iPhone
    做一个像 fortune 那种的怎么样?
    irainy
        2
    irainy  
    OP
       Mar 8, 2016
    @bdbai fortune 命令吗?那得多短啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6005 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 01:53 · PVG 09:53 · LAX 18:53 · JFK 21:53
    ♥ Do have faith in what you're doing.