Form Parsing resouces
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Oct 27 20:48:42 EDT 2009
En Tue, 27 Oct 2009 18:16:07 -0300, Tim Johnson <tim at 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
More information about the Python-list
mailing list