[Zope] eval in DTML
Andy McKay
andy at clearwind.ca
Fri Feb 6 13:45:59 EST 2004
>>Is it possible to use python's eval method from inside a DTML method? I
>>have a parameter that is passed into the method that is the string
>>representation of a python list and I wanted to use eval to convert it
>>to a list that I could iterate over.
There is rarely a good reason to use eval (although it does happen) in
Zope. Make sure you cant send the list as a list, rather than a string.
--
Andy McKay
ClearWind Consulting
http://www.clearwind.ca
More information about the Zope
mailing list