Just released the 0.4.0 version of my html package.
What is html? Bet you know. But this module lets
you parse and construct html content without
templating languages. Goal was to wrap tags
in the simplest way python allows to.
Sample code:
f = (
HtmlFile()
(
Doctype(),
Html()
(
Head(),
Body()("Hello World!")
)
)
)
f.save(''myFile.html")
...or for spaghetti code lovers:
print HtmlFile()(Doctype(), Html()(Head(), Body()("Hello
World!"))).save()
Get the package from here:
http://home.arcor.de/jurner/python/
--
http://mail.python.org/mailman/listinfo/python-announce-list
Support the Python Software Foundation:
http://www.python.org/psf/donations.html