On Sun, Feb 5, 2012 at 5:42 PM, Cosmia Luna <[email protected]> wrote:
> Sure it's of little use in production environment, but useful
> in development environment to debug the final html and find what's broken if
> there is.
>

There are some solutions here:

http://stackoverflow.com/questions/6150108/python-how-to-pretty-print-html-into-a-file

You could wrap one of those (e.g. BeautifulSoup.prettify) around your
template output or around your app as middleware (if this is for a web
app).

-steve

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to