BartlebyScrivener wrote: > New to Python and Programming. Trying to make scripts that will open > sites and automatically log me on. [snip] > 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. [1] http://cheeseshop.python.org/pypi/mechanoid/ -- dOb -- http://mail.python.org/mailman/listinfo/python-list