[Tutor] Web Based Form Question

Timothy M. Brauch tbrauch@mindless.com
Mon, 24 Jun 2002 19:52:48 -0400


There is a form I use on the internet that is written in Python.  Basically
I have to enter a number in the form to look up the data on something, then
pull the relevant data from the resulting page.

What I was wondering is if there was a way I could write a little script
that would help me do this.  If I could figure out how to get the results
page using Python, I could easily extract the important data.

Here is the relevant part of the web form...

<form method="post" action="cnvrprt.py">
<input name="idnumber" type="text">
<input name="" type="submit" value="Submit">
</form>

I just need to run through a file of id numbers using this form.

Any help?

 - Tim