[mod_python] psp module

Wouter van Marle wouter at squirrel-systems.com
Wed May 18 20:18:13 EDT 2005

Hi all,

Is there a way to catch the html code as produced by the psp module?

I mean: normally one does something like:
page = psp.PSP(req,  "template.psp")
page.run({"spam": 1, "eggs": 5})
and the page is converted to html, and displayed in the browser.

Now is it possible to catch this html code in a string, instead of
sending it to the browser? This as I'd like to use the psp templating
for creating an e-mail body.

Wouter van Marle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050519/5c5c31a4/attachment.html

More information about the Mod_python mailing list