Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-18 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers <[EMAIL PROTECTED]>: > Thomas G. Apostolou wrote: > > > > > > > > > > > > > > > > > > > > > > > > What Tino said about using a database adapter is true, but even if > you > want to st

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-18 Thread Chris Withers
Thomas G. Apostolou wrote: What Tino said about using a database adapter is true, but even if you want to stick with your external method, you can always use the following ZPT: You only need to figure out

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-17 Thread Tino Wildenhain
Thomas G. Apostolou schrieb: Αρχικό μήνυμα από Chris Withers <[EMAIL PROTECTED]>: Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Well, you are right. I do not directly call the module

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-17 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers <[EMAIL PROTECTED]>: > Thomas Apostolou wrote: > > i saw that from within a DTML Method one is able to > > call a fuction of a python module in the file system. > > I don't think so... Well, you are right. I do not directly call the modules's function from the fi

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-14 Thread Chris Withers
Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Now i want to get the funtion's results from within a Page Template. Which function? Give us an example of what you've tried... Is the righ

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-12 Thread Peter Bengtsson
If you already know DTML but need to learn ZPTs I suggest you have a look at this old document http://www.zope.org/Members/peterbe/DTML2ZPT 2005/10/12, Thomas Apostolou <[EMAIL PROTECTED]>: > Hello, > > i saw that from within a DTML Method one is able to > call a fuction of a python module in the