Hello All, My ZPT is just starting to be passable and I have a working database :-) What I would like is a quick overview of how to make an external python script run from Zope. Just the concept so I can go figure the details... I have a script /projects/htl/printlabel.py which takes 4 parameters (currently from the command line) and sends some text to lpr which prints my label. Do I need to make a python script or a product or what? TIA Simon
Ah, An external method - easy! Doh! Simon -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org]On Behalf Of Simon Faulkner Sent: 13 September 2003 12:19 To: zope@zope.org Subject: [Zope] External Python Script Hello All, My ZPT is just starting to be passable and I have a working database :-) What I would like is a quick overview of how to make an external python script run from Zope. Just the concept so I can go figure the details... I have a script /projects/htl/printlabel.py which takes 4 parameters (currently from the command line) and sends some text to lpr which prints my label. Do I need to make a python script or a product or what? TIA Simon _______________________________________________ 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 )
Simon Faulkner wrote:
Do I need to make a python script or a product or what?
Easiest would probably be an External Method... http://www.zope.org/Documentation/How-To/ExternalMethods cheers, Chris
participants (2)
-
Chris Withers -
Simon Faulkner