"Python IE automation is extremely easy using the InternetExplorer.Application COM object. Using this COM object you can automate IE to do all kind of stuff like automating any login process, downloading files or creating some underground bots"
Here is an interesting tutorial on how to script an IE session using Python. The best part is that if you ActivePython installed, you can actually immediately try the code without having to do anything tedious. You can try it by starting up the Pythonwin IDE and typing the code as is from the page.