[Zope] Re: Generating and Downloading PDF
Chris Withers
chris at simplistix.co.uk
Wed Mar 2 04:29:25 EST 2005
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
More information about the Zope
mailing list