[Zope] PythonMethod

Evan Simpson evan@4-am.com
Fri, 12 May 2000 11:11:52 -0400


----- Original Message -----
From: Magnus Heino <magnus.heino@rivermen.se>
> I want to be able import win32com.client in a PythonMethod.
>
> Do I have to change anything to be allowed to do this? If so, where?

Import in PythonMethods is not (yet) supported.  You could write an External
Method which imports it and then returns it, and do the rest in a
PythonMethod.

Once the new security machinery in Zope 2.2 settles in, I'll add import
capability.

Cheers,

Evan @ digicool & 4-am