[Zope] Return data from python

Tuttle, Gene cetuttle at rottlundhomes.com
Thu Sep 9 10:49:16 EDT 2004


I am new to Zope and Python.

I want to be able to return the results of calculations from a python
script. 
The script gathers 3 bits of information from a database using 3 queries.
I want to add up the 3 numbers and return to the calling DTML the 4 numbers.
What is the best way to do this.

Also as a side note...  These numbers are dollar amounts.  I have not found
a way to format them in Python.
Can you offer any suggestions.

Thanks
Gene


More information about the Zope mailing list