[Zope] Executing a text file as a ZPT from a product

Andreas Jung lists at zopyx.com
Sun May 3 03:29:15 EDT 2009


On 03.05.09 09:26, Jakob Schou Jensen wrote:
> Im am writing a product and would like to include ZPT's as part of the
> product. Is there a way that I can evaluate a piece of text
> (preferrably stored as a text file in the product folder) as a ZPT?

"evaluate"?

In general: ZPT and PythonScripts are stricted and can not access the
filesystem - except
through unrestricted Python code ("trusted code") e.g. through a browser
view or
an external method or product code.

-aj

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20090503/4078ec53/attachment.vcf 


More information about the Zope mailing list