batching in python scripts?
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
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@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
participants (2)
-
Julian Gollop -
Peter Bengtsson