Python vs PHP

Istvan Albert ialbert at
Sat Oct 23 19:10:33 CEST 2004

Valentino Volonghi aka Dialtone wrote:

> Nevow _CAN_ embed code in the template. and you can do that in this way:


what you showed here is basically a workaround, a way to
"trick" python that runs the templating engine into
directly executing a statement ... not a wise choice ...

Moreover why is it that the webpage is so
eager to explicitly contradict this possibility?

"Nevow includes the ability to load templates off disk...
... The attribute technique was inspired by the attributes
used by ZPT. However, no actual code may be embedded in
the HTML template"


More information about the Python-list mailing list