V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
chendajun
V2EX  ›  Python

通过新浪微博 API 获取微博数据,有个时间(微博发布时间)的格式是: WedNov3009: 36: 17+08002016,怎么解析?

  •  
  •   chendajun · 2016-11-30 13:52:39 +08:00 · 2001 次点击
    这是一个创建于 2701 天前的主题,其中的信息可能已经有所发展或是发生改变。
    3 条回复    2016-11-30 17:04:24 +08:00
    zhouzm
        1
    zhouzm  
       2016-11-30 15:19:56 +08:00
    Wed,Nov,30,09: 36: 17+0800,2016
    itqls
        2
    itqls  
       2016-11-30 15:22:50 +08:00
    ls 正解
    chendajun
        3
    chendajun  
    OP
       2016-11-30 17:04:24 +08:00
    @itqls
    @zhouzm
    谢谢,看明白了,这个串在程序里自动变成:“ Wed Nov 30 09: 36: 17 0800 2016 ”,用空格分割一下就出来了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3690 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 04:26 · PVG 12:26 · LAX 21:26 · JFK 00:26
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.