By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,857 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,857 IT Pros & Developers. It's quick & easy.

Generating HTML

P: n/a
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.

--
Sebastián Bassi (セバスティアン). Diplomado en Ciencia y Tecnolog*a.
Curso Biologia molecular para programadores: http://tinyurl.com/2vv8w6
GPG Fingerprint: 9470 0980 620D ABFC BE63 A4A4 A3DE C97D 8422 D43D
Sep 12 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.
KID, Genshi, Mako. And a bazillion others. I prefer the first two ones
because the force you to use valid XML and produce HTML/XHMTL out of that.

Diez
Sep 12 '07 #2

P: n/a
Sebastian Bassi wrote:
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.
There's also lxml.html, which has straight forward support for generating HTML
and comes with a lot of nice goodies for HTML handling:

http://codespeak.net/lxml/dev/lxmlht...-the-e-factory

Note that this requires lxml 2.0, which is currently in alpha status.

Stefan
Sep 12 '07 #3

P: n/a
In article <ma*************************************@python.or g>,
"Sebastian Bassi" <sb****@clubdelarazon.orgwrote:
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.
Spyce. Works fine server side (like PHP) and also run from the command line.

http://spyce.sourceforge.net/

--
Philip
http://NikitaTheSpider.com/
Whole-site HTML validation, link checking and more
Sep 13 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.