On Fri, 19 Mar 2010 11:33:36 pm richard west wrote: > Hi, > > Im trying to use python to open up a password protected website(e.g. > facebook / gmail) in Firefox. supplying the login and password > automatically at runtime - so that I can interface my code with > fingerprint recognition code. So far I have only found urllib, > urllib2 and web browser, none of which I have been able to use. > > urllib2 can log me in, but then I cant pass this authenicated login > to the browser. At the very least I need to be able to send the form > post information to the browser via my code, and preferably > auto-submit the form.
You might like to look at Mechanize, which is a third-party Python project for dealing with just that sort of problem. -- Steven D'Aprano _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor