[Tutor] Is Python powerful enough for this?

dman dsh8290@rit.edu
Thu, 30 Aug 2001 11:43:19 -0400

On Thu, Aug 30, 2001 at 02:03:00PM +0200, A wrote:
| 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

You're looking to write some CGI scripts that will receive the form
submisison and then process it, right?

See the 'cgi' module, it parses the url string for you and provides
the data as a dictionary.  Really easy to use.