[Zope] how to use sequence-end from python script?

Kevin L kevinsl@yahoo.com
Sun, 8 Jul 2001 14:58:17 -0700 (PDT)


Hello,

I know this is a syntax problem. I just can't find it anywhere
in the docs.

I'm executing a Z SQL Method from a python script need to test
sequence-end. For example

for result in context.sqlmethod(params):
    # do something
    if not 'sequence-end':
        # do something here

Can anyone tell me how to test for "not sequence-end"? Do I have
to use context['sequence-end'] or result['sequence-end']?

thanks a lot

-Kevin

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/