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