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

最好用的Gmail库

  •  
  •   magicshui · Sep 26, 2012 · 4069 views
    This topic created in 5113 days ago, the information mentioned may be changed or developed.
    有没有Gmail的python lib,能够根据label或者folder来获取邮件?
    求一个最好用的库
    4 replies  •  1970-01-01 08:00:00 +08:00
    jamiesun
        1
    jamiesun  
       Sep 26, 2012   ❤️ 1
    imap
    magicshui
        2
    magicshui  
    OP
       Sep 26, 2012
    @jamiesun imap是不是还要自己再去封装一下根据label获取邮件的功能?
    jamiesun
        3
    jamiesun  
       Sep 26, 2012   ❤️ 1
    imap只是协议,你需要自己去实现封装

    至于封装好的模块应该有的,你去搜索下啊
    参考
    http://bitsofpy.blogspot.com/2010/05/python-and-gmail-with-imap.html
    http://yuji.wordpress.com/2011/06/22/python-imaplib-imap-example-with-gmail/

    另外gmail也提供了http的api的
    http://libgmail.sourceforge.net/
    magicshui
        4
    magicshui  
    OP
       Sep 26, 2012
    @jamiesun 谢谢,libgmail已经试用,满足需求~
    imap要瞅瞅
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2751 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 02:15 · PVG 10:15 · LAX 19:15 · JFK 22:15
    ♥ Do have faith in what you're doing.