Automatically fill in forms on line
Ryan Ginstrom
software at ginstrom.com
Mon Mar 31 20:20:12 EDT 2008
> On Behalf Of Jackie Wang
> I want to automatically complete the following task:
>
> 1. Go to http://www.ffiec.gov/Geocode/default.aspx;
...
>
> Can Python realize these steps? Can these steps be done
> witout openning and IE windows? Especially, I dont know how
> to write code for step 2, 4 and 5.
I suggest looking at mechanize:
http://wwwsearch.sourceforge.net/mechanize/
If you're going to do this frequently, you also might want to check out the
site's policy on robots. Mechanize does have a function to automatically
handle a site's robots.txt.
Regards,
Ryan Ginstrom
More information about the Python-list
mailing list