On 2007-09-11 23:33:18 -0500, "Sebastian Bassi" <[EMAIL PROTECTED]> said:
> Hello, > > What are people using these days to generate HTML? I still use > HTMLgen, but I want to know if there are new options. I don't > want/need a web-framework a la Zope, just want to produce valid HTML > from Python. > Best, > SB. Other folks have suggested Mako, and that's an excellent option. But I'd like to also suggest Brevé: a html DSL. http://breve.twisty-industries.com/ html [ head [ title [ 'A Brevé Template' ] ], body [ h1 [ 'Briefly, Brevé' ], br, div ( style = 'text-align: center;' ) [ span [ ''' As you can see, Brevé maps very directly to the final HTML output. ''' ] ] ] ] -- http://mail.python.org/mailman/listinfo/python-list