[Zope] importing string module in python METHOD - a problem that shouldn't be aproblemproblem
Evan Simpson
evan@4-am.com
Sun, 14 Jan 2001 00:36:00 -0500
From: "Lee" <lee.reilly@ntlworld.com>
> I have a Python method that needs to use the string module. In the
> method body I have the 'import string' statement but when I try it =>
As Shane mentioned, 'import' is only enabled in Python Scripts, but Python
Methods pre-import all of the same modules as DTML, including 'string'.
Cheers,
Evan @ digicool & 4-am