I just do the following:

I store the form data as a pickeled dictionary. Then I create my
HTML form with something like this:

HTMLout="""<HTML><BODY>......
......
<INPUT NAME="field1" value=%(field1)s>
<INPUT NAME="field2" value=%(field2)s>
<INPUT NAME="field3" value=%(field3)s>'''

where the field1, field2 etc era the fields on my form.

Then finally:

print HTMLout % dict

where dict has all the values that I previously pickled.
You have to do some additional trickery for <SELECT> type fields
and checkboxes and so on but its really not difficult.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to