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 exist.

Why not use PythonScripts ?

bye,

Jerome Alet


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[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

-

"The programmer, like the poet, works only slightly removed from pure
 thought-stuff.  He builds his castles in the air, from air, creating
 by exertion of the imagination.  Few media of creation are so
 flexible, so easy to polish and rework, so readily capable of
 realizing grand conceptual structures."
-- Frederick Brooks, Jr., The Mythical Man Month


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )