My question is this: I have a Zope Product. I want that some modules from this product be configurable. I can use exec() but then I have a big security hole. I am not a ZOBD expert, but I belive thet it doesn't save methods, only variables. Exits somo trick thet permits me: import aPythonMethod or x=PythonMethod.call(....) or something Is that posible? Chris McDonough escribió:
Do you mean you want to use a Python Method (in the sense of a methodish object instantiated from Evan Simpson's Python Method Product) from a Python Product? You *should* be able to call it by getting a hold of it through acquisition or by otherwise getting a hold of an object in the
ZODB and traversing from it.
-----Original Message----- From: entropia [mailto:entropiamax@jazzfree.com] Sent: Monday, August 07, 2000 3:20 AM To: zope@zope.org Subject: [Zope] Python Method question
I hava a question regards Python Method: How can I import a Python Method from a Product module?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )