[Zope] easy python script

Peter Bengtsson peter@grenna.net
Mon, 26 Mar 2001 02:04:52 +0100


in DTML I do this...
<dtml-in "folder.objectValues('DTML Document')" sort=3Dtitle reverse>

How do I do the same in a python script?
Here's a good start.
for thing in context.folder.objectValues('DTML Document'):
 =20
Strange, that this one's never crossed my mind, but never mind about =
that.

Peter