[Zope-dev] Using restricted code from within a python product

2002-11-05 Thread Brent Hendricks
I have a method in a python Product that I'd like to have run as restricted code. Is there an easy way to do this? I was hoping for a PythonScriptFile() along the lines of PageTemplateFile(), but such a thing doesn't seem to exist. Thanks -- Brent

Re: [Zope-dev] Using restricted code from within a python product

2002-11-05 Thread Jerome Alet
On Tue, Nov 05, 2002 at 12:19:06PM -0600, Brent Hendricks wrote: I have a method in a python Product that I'd like to have run as restricted code. Is there an easy way to do this? I was hoping for a PythonScriptFile() along the lines of PageTemplateFile(), but such a thing doesn't seem to