12 Nov
1999
12 Nov
'99
11 p.m.
Hello, it's my first day with Zope! I'm trying to do a simple Python expression, e.g., <dtml-if "divmod(33,2) == 1"> a </dtml-if> I get a NameError. I was given to understand that double-quoted expressions are normal Python expressions, and divmod is a builtin, so there shouldn't be a problem. Just for the heck of it, after that error, I tried <dtml-if "_.has_key('divmod')"> which evaluated to false. Am I missing something simple here? Thanks -=-=-=-=-=-=-=-= Clarence Gardner Software Engineer NetLojix Communications, Inc. NASDAQ:NETX clarence@netlojix.com