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

Chris Withers chris at simplistix.co.uk
Fri Oct 14 05:55:09 EDT 2005


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 right way to make a Script(Python) that calls
> this module's function and then call this
> Script(Python) from within my Page Template?

You should be able to make the call direct from the ZPT, but you'll have 
to tell us what you're trying to do...

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope mailing list