February 28th, 2005, 03:23 PM
Filling Out Forms on Webpages
How would you go about filling in and submitting a html form using python?
February 28th, 2005, 03:41 PM
February 28th, 2005, 04:43 PM
Do you mean having Python handle the form data? If so look at the cgi module in the Python documentation.
February 28th, 2005, 04:48 PM
One more question.
If the name of a form isn't visible in the source code of a page, how would I refer to it in IEC?
February 28th, 2005, 05:35 PM
If the form name isn't present, this is because there's only one form on the HTML page. Usually forms have a submit button, so you can do something like this:
Originally Posted by pylon
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
February 28th, 2005, 06:36 PM