推荐学习书目
› 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
Livid
396.81D
539.34D
V2EX  ›  Python

Arrow

  •  
  •   Livid ·
    PRO
    · Nov 27, 2012 · 4071 views
    This topic created in 5055 days ago, the information mentioned may be changed or developed.
    https://github.com/crsmithdev/arrow

    一个新的处理时间和日期的 Python 库。

    看来不只是我觉得在 Python 里处理时间很纠结。

    通过 pip 即可安装。

    pip install arrow
    3 replies  •  1970-01-01 08:00:00 +08:00
    alexzhan
        1
    alexzhan  
       Nov 27, 2012
    现在PB3怎么处理的显示时间?跟PB2一样吗?
    clino
        2
    clino  
       Nov 27, 2012
    前几天刚在 http://www.oschina.net/question/12_78983?from=20121118 看到一个
    '''
    2. dateutil

    安装方法:pip install dateutil

    处理日期很痛苦,多亏有了 dateutil
    '''
    JerryKwan
        3
    JerryKwan  
       Nov 28, 2012
    dateiutil挺不错,也算是目前采用比较广泛的一个python时间处理库了,但在使用的时候需要区别python版本,好像是python2对应的是dateutil 1.5的那个版本
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   816 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 20:04 · PVG 04:04 · LAX 13:04 · JFK 16:04
    ♥ Do have faith in what you're doing.