473,395 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Automatically fill in forms on line

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
3 2430
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: John Sheppard | last post by:
Hi there Does anyone know how to fill a bound textbox automaticlly. In an unbound textbox I would put in the control source =Sum(price, tax) (or some such function) and access updates it...
7
by: jballard | last post by:
Hello, I have a database set-up with a form and two subforms in it. I have one of the subforms (replacement parts) set-up where you can pick part numbers from a drop down box and also pick a...
1
by: Johann Blake | last post by:
I have a dataset that contains a parent table and a child table. A DataRelation exists between the two. I was under the impression from reading the VS docs that when I filled the parent table, the...
2
by: kaosyeti | last post by:
hey... i have a form with a cmd button that opens a 2nd form with acdialog as the windowmode. upon opening, if certain fields are filled, i would like to pull those values into some of the...
10
by: RoadRunner | last post by:
Hi, I have a employee vacation database that has a vacation table that has the employee name, pay week and date of vacation. I have another lookup table with pay week code and date range for the...
13
by: Mary | last post by:
I'll pulling my hair out on this one and would be so appreciative of any help. I am creating a data entry form to enter results of a student survey. There are 40 questions on the survey. The...
4
by: JA | last post by:
Not exactly sure how to explain this. I have 4 fields (in access 2000). Category, Catid, Subcat, subcatid. There are 40 categories, and about 1500 subcats. I've added the categories to the...
12
by: =?Utf-8?B?ZXAu?= | last post by:
What is preferred method to start an app process and then fill in form fields? The following prog does not compile (b/c AppActivate does not have the correct param):...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.