On Mar 31, 11:50 am, "Jackie Wang" <[EMAIL PROTECTED]> wrote: > Dear all, > > I want to automatically complete the following task: > > 1. Go tohttp://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. > > Thank you!
You might take a look at PAMIE: http://pamie.sourceforge.net/ or ClientForm: http://wwwsearch.sourceforge.net/ClientForm/ Those are what are usually recommended. Mike -- http://mail.python.org/mailman/listinfo/python-list