On Sat, Mar 20, 2010 at 1:27 AM, Steven D'Aprano <st...@pearwood.info> wrote: > 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 can also use twill http://twill.idyll.org/ > > 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 - tu...@python.org > To unsubscribe or change subscription options: > http://mail.python.org/mailman/listinfo/tutor > -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor