Evan Klitzke a écrit : > On Wed, 2007-09-12 at 01:33 -0300, Sebastian Bassi wrote: >> 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. > > It's not applicable for everything, but if you're planning on using > Python to generate web pages you should really be using Cheetah > templates. Very simple to use template system that is also very > powerful, and you don't need to use it in conjunction with a heavy web > application framework. See http://www.cheetahtemplate.org/ >
Same for Mako (http://www.makotemplates.org), which has IMHO a much nicer syntax (Cheetah looks too much like line noise IMHO). -- http://mail.python.org/mailman/listinfo/python-list