[Zope] sorting ids in python

Garry Saddington garry at schoolteachers.co.uk
Mon Dec 8 12:18:17 EST 2008


Can anyone help me sort the following by id in a python script?

for object in context.objectValues(['Folder', 'DTML 
Document','ZipFolder','File','Image']):

Import of sequence is not authorised in my python scripts, I am presuming 
(probably wrongly) that sequence is needed for sort.
Regards
Garry


More information about the Zope mailing list