By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,995 Members | 1,217 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,995 IT Pros & Developers. It's quick & easy.

Automatically fill in forms on line

P: n/a
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.

Thank you!
Mar 31 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mar 31, 11:50 am, "Jackie Wang" <jackie.pyt...@gmail.comwrote:
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
Mar 31 '08 #2

P: n/a
On Mar 31, 9:50 am, "Jackie Wang" <jackie.pyt...@gmail.comwrote:
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 may also want to look at the Yahoo! maps API, which will also give
you geocoding with a much nicer interface:

http://www.yahooapis.com/maps/rest/V1/geocode.html

unless you specifically need to use the TeleAtlas data or the API
licensing is incompatible with the task at hand, I'd recommend using
that instead.
Mar 31 '08 #3

P: n/a
On Mar 31, 10:35 am, Jason Scheirer <jason.schei...@gmail.comwrote:
On Mar 31, 9:50 am, "Jackie Wang" <jackie.pyt...@gmail.comwrote:
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 may also want to look at the Yahoo! maps API, which will also give
you geocoding with a much nicer interface:

http://www.yahooapis.com/maps/rest/V1/geocode.html

unless you specifically need to use the TeleAtlas data or the API
licensing is incompatible with the task at hand, I'd recommend using
that instead.
And as a follow up, check out the Python Geocoding Toolbox:
http://exogen.case.edu/projects/geopy/

It already has Yahoo! Geocoding API bindings, as well as Google Maps
geocidng bindings in a nice Pythonic interface.
Mar 31 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.