On 2009-10-28, Gabriel Genellina wrote:
<...>
> Try FormEncode http://formencode.org/
Wish I had noticed that yesterday. I started "rolling my own" and am
about 2/3's way thru.
thanks
--
Tim
t...@johnsons-web.com
http://www.akwebsoft.com
--
http://mail.python.org/mailman/listinfo/py
En Tue, 27 Oct 2009 18:16:07 -0300, Tim Johnson
escribió:
Example="""
This is my form
Enter Name
"""
## 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
On Tue, Oct 27, 2009 at 5:16 PM, Tim Johnson wrote:
> Using python 2.5 on linux.
> I am an experienced web programmer. 8 years with python.
> I have done the following in other programming languages, but not so far
> in python:
>
> 1)Parse a form into alternating strings and tags.
> 2)Convert tags
Using python 2.5 on linux.
I am an experienced web programmer. 8 years with python.
I have done the following in other programming languages, but not so far
in python:
1)Parse a form into alternating strings and tags.
2)Convert tags into dictionary-like objects.
Said process would allow me to the