En Tue, 27 Oct 2009 18:16:07 -0300, Tim Johnson <t...@johnsons-web.com>
escribió:

Example="""
This is my form
<form method="POST" action="some.cgi" name="form0">
Enter Name  <input type="text" size="40" name="firstname">
</form>
"""
## result
["This is my form",
{"tagtype":"form","action":"some.cgi","name":"form0"},
"Enter Name ",
{"tagtype":"input","type":"text","size":"40","name":"firstname"}
{"tagtype":"/form"}]

FYI: I have looked at ClientForm. It appears that ClientForm enables the
reading of a form as a request, modifying it and sending it directly
back to a process. I need something to provide a form directly to
stdout to enable a user to edit it.

Try FormEncode http://formencode.org/

--
Gabriel Genellina

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

Reply via email to