triggering Python socket code from Zope
I'm going to need to pass some status messages to a business partner over UDP. I've already written that Python code. At the moment it's intended to be called from various batch scripts. But the partner also wants one particular message to be triggered from a process that happens via web form. Am I going to have to turn the underlying code into a Product? Or is a Python Script going to be sufficient? Are there sandbox issues? (The code does some file reading and writing, uses struct.pack(), uses string.strip(), time.time()...)
Bill Seitz wrote at 2004-10-5 10:53 -0400:
... Am I going to have to turn the underlying code into a Product? Or is a Python Script going to be sufficient?
An External Method would be sufficient. A Python Script could by default not import "socket" (and probably not use it). -- Dieter
Thanks. I'd had the impression that people weren't using External Methods that often anymore. Dieter Maurer wrote:
Bill Seitz wrote at 2004-10-5 10:53 -0400:
... Am I going to have to turn the underlying code into a Product? Or is a Python Script going to be sufficient?
An External Method would be sufficient.
A Python Script could by default not import "socket" (and probably not use it).
participants (2)
-
Bill Seitz -
Dieter Maurer