[Zope] Python Script Question

Laura McCord Laura.McCord at doucet-austin.com
Fri May 14 12:54:13 EDT 2004

I am starting out with this in my script

success = 0
for id in context.objectIds():
   success = success + 1
return success

All this does is count the contents in the folder. However, how do you
specify what content to count. For instance, I do not want this script
to count itself in the folder contents but I want it to include
everything else. Any suggestions?


More information about the Zope mailing list