News for hackers. Stuff that matters.
Re:Pure python html templating using with statements by yangyang on Sunday December 11, 2011 @04:10PM (#3341105)
Could probably use contextlib to simplify the implementation a bit: http://docs.python.org/library/contextlib.html. Indeed HTML generation is the first example.

There are no comments on this comment yet.