2 Mar
2005
2 Mar
'05
9:29 a.m.
Wolfram Kraus wrote:
You have to put this in an external Method, e.g getPDF(self), because you don't have access to os from Python scripts inside Zope. BTW: No need to import os here, just use the builtin open function, albeit you still have to use an external method.
Either that or provide appropriate security declarations in a python product. See Products/PythonScripts/standard.py for examples. cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk