On 6 Dec 2001 at 16:12, Romain Slootmaekers wrote: > > reduce(operator.add,[0,1,2,3,4]) > > > try "_.reduce(....)"
This is in a Python Script, I'm not using the DTML namespace. Note that map() and filter() work without a problem, so why not reduce() ? > this shkould be clear enough as a message. > zope can't find the reduce function. right, but it can find the other built-in functions okay. Brad Clements, [EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com (315)268-9812 Fax netmeeting: ils://ils.murkworks.com AOL-IM: BKClements _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )