News for hackers. Stuff that matters.

HTML Generated with Python

Would anyone use this? Example code:

html.head("title", "sites title here")

Then that would (in the end) generate the HTML code "<title>sites title here</title>.

Of course the syntax could/would change just an idea. But the main question would you use it?

( 3 comments | on HN )
Re:HTML Generated with Python by aitoehigie on Thursday April 08, 2010 @11:20PM (#1251769)
Most python frameworks already do something like this
Re:HTML Generated with Python by LoupSolitaire on Thursday April 08, 2010 @11:30PM (#1251785)
That's more or less what templates do.
Re:HTML Generated with Python by patx44 on Friday April 09, 2010 @01:04AM (#1251927)
Hmmmm. Ok thanks for the feedback. :)