[Zope] Re: [Support] Re: Collector #2244: Zope, sequence-

Evan Simpson evan@digicool.com
Thu, 7 Jun 2001 12:06:40 -0400


From: "Chris Withers" <chrisw@nipltd.com>
> > Then you would probably find the Batch class from ZTUtils valuable.
> 
> Is it documented anywhere? Can I import it into a PythonScript?

Documentation is minimal, as yet, but it's *very* simple.

from ZTUtils import Batch
b = Batch(seq, 25, start=context.REQUEST.get('start', 0))

(after installing it, of course)

Cheers,

Evan @ digicool