[Zope3-Users] Reference to a COM object (or other external
resource) in a Zope object
Benji York
benji at zope.com
Wed May 24 09:18:01 EDT 2006
thealx at poczta.onet.pl wrote:
> I have read somewhere that possibly I can use module variables for this purpose. Is it the 'right' way?
If the object is a singleton, then a module-level global would be a good
work-around.
If not, perhaps a (module-level) registry of COM objects with which you
can look up your needed COM object, creating it if necessary.
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Zope3-users
mailing list