Re: [Zope] is there a zope product for generating spreadsheets?

2009-05-04 Thread garry
Quoting Krishnakant : > On Tue, 2009-05-05 at 04:55 +0200, Andreas Jung wrote: >> > >> http://lmgtfy.com/?q=python+excel >> http://pypi.python.org/pypi?%3Aaction=search&term=excel&submit=search >> > Thanks a lot, but I don't use, promote or recommend proprietory > standards, so Open office is what

Re: [Zope] is there a zope product for generating spreadsheets?

2009-05-04 Thread Andreas Jung
On 05.05.09 08:23, Krishnakant wrote: > On Tue, 2009-05-05 at 04:55 +0200, Andreas Jung wrote: > >>> >>> >> http://lmgtfy.com/?q=python+excel >> http://pypi.python.org/pypi?%3Aaction=search&term=excel&submit=search >> >> > Thanks a lot, but I don't use, promote or recommend propri

Re: [Zope] is there a zope product for generating spreadsheets?

2009-05-04 Thread Krishnakant
On Tue, 2009-05-05 at 04:55 +0200, Andreas Jung wrote: > > > http://lmgtfy.com/?q=python+excel > http://pypi.python.org/pypi?%3Aaction=search&term=excel&submit=search > Thanks a lot, but I don't use, promote or recommend proprietory standards, so Open office is what I am looking for integrating

Re: [Zope] is there a zope product for generating spreadsheets?

2009-05-04 Thread Andreas Jung
On 04.05.09 23:07, Krishnakant wrote: > hello all, > I am right now browsing through the grok tutorial and found it to be > really amaising. > > I had been confused a few days regarding how I can put my application > into zope. Thanks to all you who patiently answered my queries. > > Now I am wond

[Zope] is there a zope product for generating spreadsheets?

2009-05-04 Thread Krishnakant
hello all, I am right now browsing through the grok tutorial and found it to be really amaising. I had been confused a few days regarding how I can put my application into zope. Thanks to all you who patiently answered my queries. Now I am wondering whether there is a product which can generate

Re: [Zope] How to use ZPT with ad-hoc context?

2009-05-04 Thread Daniel Dekany
Monday, May 4, 2009, 9:18:52 PM, Hedley Roos wrote: >>> __allow_access_to_unprotected_subobjects__ = 1 >> >> That indeed works, thanks! >> >>> You probably should not use that line too often :) >> >> I would prefer doing it correctly/safely, but is there a way? Because >> it even exposes the unpro

Re: [Zope] How to use ZPT with ad-hoc context?

2009-05-04 Thread Hedley Roos
>> __allow_access_to_unprotected_subobjects__ = 1 > > That indeed works, thanks! > >> You probably should not use that line too often :) > > I would prefer doing it correctly/safely, but is there a way? Because > it even exposes the unprotected subobjects of the acquired objects... > sounds a bit s

Re: [Zope] How to use ZPT with ad-hoc context?

2009-05-04 Thread Daniel Dekany
Monday, May 4, 2009, 11:59:21 AM, Hedley Roos wrote: > Daniel Dekany wrote: >> How to create a template context ("here" inside ZPT) that is not an >> object from the ZODB, just a temporary object? This is what I tried: >> >> class AdhocContext(Implicit): >> pt = PageTemplateFile("whateve

Re: [Zope] How to use ZPT with ad-hoc context?

2009-05-04 Thread Hedley Roos
Daniel Dekany wrote: > How to create a template context ("here" inside ZPT) that is not an > object from the ZODB, just a temporary object? This is what I tried: > > class AdhocContext(Implicit): > pt = PageTemplateFile("whatever/path", globals()) > ... > > MyZopeProduct: > > d

[Zope] How to use ZPT with ad-hoc context?

2009-05-04 Thread Daniel Dekany
How to create a template context ("here" inside ZPT) that is not an object from the ZODB, just a temporary object? This is what I tried: class AdhocContext(Implicit): pt = PageTemplateFile("whatever/path", globals()) ... MyZopeProduct: def whatever(self): "Test" ctx =

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

2009-05-04 Thread Sascha Welter
(Sun, May 03, 2009 at 09:26:57AM +0200) Jakob Schou Jensen wrote/schrieb/egrapse: > 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? Yes of cou