[Zope] batching in python scripts?

Peter Bengtsson mail at peterbe.com
Sat Mar 6 12:29:44 EST 2004


Don't send HTML formatted emails to the mailing list please.

Yes, you can use the Batch module that comes with PageTemplates.
Look at http://www.zopelabs.com/cookbook/1015785843 for inspiration.
Then you can do the usual batching logic all from a python script.
(this works as an External Method as well)

Julian Gollop wrote:

> Is there any way to use the dtml batch processing and associated 
> variables (sequence-start, etc.) from within a python script?
> 
> Or do I have to program it myself? I like the DTML batch processing 
> functionality because it is comprehensive and easy to use, but 
> unfortunately I need to use python scripts.
> 
>  
> 
>  
> 
>  
> 
> Regards,
> 
>  
> 
> Julian Gollop
> 
> Codo Technologies ltd.
> 
> www.codotech.com
> 
> www.lasersquadnemesis.com
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )

-- 
Peter Bengtsson, http://www.peterbe.com



More information about the Zope mailing list