[Tutor] Is Python powerful enough for this?
A
printers@sendme.cz
Thu, 30 Aug 2001 14:03:00 +0200
Hi,
I have some webpages that contain FORMS. Each form has input
fields and also some hidden fields.
How can I easily get urlencoded string from all these fields
like
Key1=Value1&Key2=Value2&Key3=Value3
For example:
I have a following web page
<html>
<head>
</head>
<body>
<form method="POST" action="c.cgi">
<p><input type="text" name="T1" size="20"></p>
<p><input type="checkbox" name="C1" value="ON"></p>
<p><textarea rows="2" name="S1" cols="20"></textarea></p>
<p><input type="submit" value="Submit" name="B1"><input
type="reset" value="Reset" name="B2"></p>
</form>
</body>
</html>
>From the above
I would like to receive
T1=&S1=&C1=&B1=Submit
Thank you for help.
Ladislav
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
http://listserv.ActiveState.com/mailman/listinfo/activepython