I am looking for advice on how I might best turn a large amount of program output into an HTML report. What I'm basically doing now is building the report up by hand. The python program I'm working with is very large and has extensive logging throughout. I'm finding the parts of the logging that I want in my report, marking that up as HTML and appending it to my final result.
I was looking around for an HTML building Python module with the hope that it may be a little more elegant than formatting a bunch of strings by hand.
This SO question seemed to suggest that HTML building modules are less desirable than newer templating modules: python html generator
I'm a little familiar with Jinja and Django templating, but I'm not sure how that would work in my case.
Thanks for any suggestions.