Python Scripts to logon to websites

Tomi Kyöstilä tomi.kyostila at
Wed Jan 11 17:55:22 EST 2006

BartlebyScrivener wrote:
> New to Python and Programming. Trying to make scripts that will open
> sites and automatically log me on.
> Does anyone have a simple example of a script that opens, say, gmail or
> some other commonly accessed site that requires a username and password
> so that I can see how one is made?

I see your example uses HTTP authentication, but I still recommend 
checking out mechanoid [1] if you want to access a site with a 
form-based login system. The source contains an example that retreives 
and sends email through Yahoo.



More information about the Python-list mailing list