Automatically fill in forms on line
Steve Holden
steve at holdenweb.com
Mon Mar 31 13:17:42 EDT 2008
Jackie Wang wrote:
> Dear all,
>
> I want to automatically complete the following task:
>
> 1. Go to http://www.ffiec.gov/Geocode/default.aspx;
> 2. Fill in an address in the form "Street Address:" . e.g. "1316 State
> Highway 102";
> 3. Fill in a ZIPcode in the form "Zip Code:" . e.g. "04609";
> 4. Click the bottom "search";
> 5. In the opened page, extract and save the number after "Tract Code".
> In the example, it will be "9659".
> 6. Repeat Step 1 with a new address.
>
> 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.
>
Look at the mechanize library at
http://wwwsearch.sourceforge.net/mechanize/
> Thank you!
A pleasure.
regards
Steve
--
Steve Holden +1 571 484 6266 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/
More information about the Python-list
mailing list