[Zope] Dictionary in ZPT
Chris Withers
chris at simplistix.co.uk
Thu Sep 28 04:07:33 EDT 2006
Pascal Peregrina wrote:
> Hi,
>
> I am not sure about your use case, but this should work:
>
> ...
> tal:define="global count python: 0; global data python: {}"
> ...
> tal:define="null python: data.update({'jname':jname});"
> ...
...and anyone writing code like that should be taken out back and loudly
shot...
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope
mailing list