Re: [Zope] Read File using python script

2008-10-15 Thread Dieter Maurer
vaibhav pol wrote at 2008-10-15 13:01 +0530: >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 . For an "OFS.Image.File" object, the "str" function returns its content: "str(file)".

Re: [Zope] Read File using python script

2008-10-15 Thread Andreas Jung
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 restricti

[Zope] Read File using python script

2008-10-15 Thread vaibhav pol
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 . thanks in advance vaibhi ___ Zope maillist - Zope@zope.org http://mail.zope.org/m