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] getProperty title and id

2008-10-15 Thread Tino Wildenhain
Tino Wildenhain wrote: Hamzat Kamal wrote: Hi, I just want to why will display the object title and and will dispaly none. apart from the fact that you probably should start using TAL instead of DTML, Did you look at the resulting output? Not the HTML rendered in the browser but

Re: [Zope] getProperty title and id

2008-10-15 Thread Tino Wildenhain
Hamzat Kamal wrote: Hi, I just want to why will display the object title and and will dispaly none. apart from the fact that you probably should start using TAL instead of DTML, Did you look at the resulting output? Not the HTML rendered in the browser but the source - "view sourc

[Zope] getProperty title and id

2008-10-15 Thread Hamzat Kamal
Hi, I just want to why will display the object title and and will dispaly none. Thanks. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.z

Re: [Zope] mysql and LOAD DATA INFILE

2008-10-15 Thread Andreas Jung
On 15.10.2008 13:16 Uhr, [EMAIL PROTECTED] wrote: hello everybody! this is a 50%zope and 50%mysql question..hope somebody here will help me..:-) in PC1: are running a mysql and zope+Plone server. A zsql method imports a csv file into mysql using a LOAD DATA LOCAL INFILE and all runs OK when the

[Zope] mysql and LOAD DATA INFILE

2008-10-15 Thread tangonights
hello everybody! this is a 50%zope and 50%mysql question..hope somebody here will help me..:-) in PC1: are running a mysql and zope+Plone server. A zsql method imports a csv file into mysql using a LOAD DATA LOCAL INFILE and all runs OK when the file is in the PC1 filesystem. I know that "LOCA

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