For general automation you should try 'watsup'. For IE, there is PAMIE.
>>> from cPAMIE import PAMIE >>> ie = PAMIE() >>> ie.Navigate('www.google.com') # go to google >>> ie.SetTextBox('Python','q',0) # search for python >>> ie.ClickButton('btnG') # Go! >>> src = ie.pageText() # here it is >>> cookie = ie.GetCookie() # Ok, cookie is yummy
PAMIE is actually aimed for more of the testing work.
But in this case it serves me fine.
http://pamie.sourceforge.net/