[ANN] HTMLTemplate 1.0.0

A.M. Kuchling amk at amk.ca
Wed Jun 2 15:21:16 CEST 2004

On Wed, 02 Jun 2004 12:27:43 +0200, 
	David Fraser <davidf at sjsoft.com> wrote:
> It looks cool because it doesn't embed Python code in the template.
> Do any of the other frameworks have this approach?

Quixote's PTL embeds the template in Python code.  Using the example given
elsewhere in this thread:

from quixote.html import href

def page [html] (title, links):
    '<title>%s</title>' % title
    for link in links:
	href(link.href, link.text)

See http://www.mems-exchange.org/software/quixote/doc/PTL.html for details.


More information about the Python-list mailing list