[Tutor] Web browser

Alan G alan.gauld at freenet.co.uk
Sat Jun 11 10:01:38 CEST 2005

> What I need to do is load a web-page, enter a password-protected
> and follow certain links, it needs to have frames and follow the
> meta. I'm running winxp, python 2.4

Do you need to do this interactively in a browser?
It sounds like scripting the process using urlib might be a better

> Then, I thought about using some browser with bindings. I've looked
> over and found about nothing. Mozilla and its xpcom just seems quite
> hard and I'm not sure if that does the job I want. I tried finding
> bindings in other browsers, but I coudn't understand them and make
> work...

You can use COM to script IE but navigating the mysteries of COM is
easy, especoially if you haven't done it before.

I suggest you look at urlib before going any further, but if you
need to have a real browser open IE may be your best bet.

Alan G

More information about the Tutor mailing list