Re: [Zope] python function to know the total number of records in a catalog object

2007-10-15 Thread Andreas Jung
--On 15. Oktober 2007 13:45:37 +0100 kamal hamzat <[EMAIL PROTECTED]> wrote: Hi, I am getting NameError: global name 'zCatArticlesCurrent' is not defined on this code whereas I have the zCatArticlesCurrent object in the same container with the script. a = len(zCatArticlesCurrent) print a

Re: [Zope] python function to know the total number of records in a catalog object

2007-10-15 Thread kamal hamzat
nt: Sunday, June 24, 2007 3:21 PM Subject: Re: [Zope] python function to know the total number of records in a catalog object ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Re

Re: [Zope] python function to know the total number of records in a catalog object

2007-06-24 Thread Andreas Jung
--On 24. Juni 2007 15:08:22 +0100 kamal hamzat <[EMAIL PROTECTED]> wrote: Hi, I need a python script or function to get the total number of records in a zcatalog. len(catalog). -aj pgp0NXchjuLox.pgp Description: PGP signature ___ Zope maillist

[Zope] python function to know the total number of records in a catalog object

2007-06-24 Thread kamal hamzat
Hi, I need a python script or function to get the total number of records in a zcatalog. Thanks Kamal___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mai