Look this code! Perhaps, It can help you with login. http://segfault.in/2010/12/sending-gmail-from-python/
2011/4/25 Chris Angelico <ros...@gmail.com> > On Tue, Apr 26, 2011 at 7:38 AM, Jayme Proni Filho > <listas.programa...@gmail.com> wrote: > > I can be wrong but I think you can not login in gmail with urllib because > I > > think gmail uses another kind of auth. > > Ultimately it should be possible to do the exact same form-fillout and > follow the redirects, just as a browser would. Eventually it'll get > you a cookie. But burying the uid/pwd in the cookie will almost > certainly be wrong. > > ChrisA > -- --------------------------------------------------------------------------------------- Jayme Proni Filho Skype: jaymeproni Twitter: @jaymeproni Phone: +55 - 17 - 3631 - 6576 Mobile: +55 - 17 - 9605 - 3560 e-Mail: jaymeproni at yahoo dot com dot br Blogs (Em construção) Programandor: http://jaymeproni.wordpress.com Sociedade em Ação: http://sociedaemacao.wordpress.com ---------------------------------------------------------------------------------------
-- http://mail.python.org/mailman/listinfo/python-list