[Zope] Read File using python script

Andreas Jung lists at zopyx.com
Wed Oct 15 03:34:25 EDT 2008


On 15.10.2008 9:31 Uhr, vaibhav pol wrote:
> Hi,
>
> I create folder in zope where I add one text file .Now i want to read
> the content of the file
> using the script python not using external script how can i do that .
>

If you refer to content sitting on the filesystem: you can't due to the 
restrictions of RestrictedPython - use an external method, browser view 
or any other form of "trusted 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/20081015/f3abd068/attachment.vcf 


More information about the Zope mailing list