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

Peter Bengtsson peter at fry-it.com
Wed Oct 12 12:59:19 EDT 2005


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 <tomatbiz-tominfo at yahoo.co.uk>:
> Hello,
>
> i saw that from within a DTML Method one is able to
> call a fuction of a python module in the file system.
>
> Now i want to get the funtion's results from within a
> Page Template.
> Is the right way to make a Script(Python) that calls
> this module's function and then call this
> Script(Python) from within my Page Template?
> Is there any other less nifty way to do this?
>
> Thanks in advance.
>
>
>
>
>
>
> ___________________________________________________________
> Χρησιμοποιείτε Yahoo!;
> Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
> διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
> μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
>
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
>


--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list