html forms, dicts and lists

Kai Keliikuli kai at
Thu Aug 1 03:33:42 CEST 2002

I'm wanting to do more with html forms and their processing
than I'm able to using the cgi module, but I've had no luck
RTFMing or googling.  I want to interpret the following html
form inputs like so

form: <input type="text" name = "d['a']['b']" value="foo">

interpreted: d = {'a':{'b':'foo'}}

form: <input type="text" name = "x[0][0]" value="bar">
interpreted: x = [['bar']]

Does anyone know where I can find something like this.

More information about the Python-list mailing list