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

2007-10-15 Thread kamal hamzat
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 return printed Traceback (innermost last): a.. Module ZPublisher.Publish,

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

[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 -

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