Pretty Printing Like Tidy for HTML

Thomas Wittek mail at gedankenkonstrukt.de
Sat Jul 7 22:28:23 CEST 2007


Daniel:
> On Sat, 07 Jul 2007 21:35:40 +0300, David <dwarnold45 at suddenlink.net>
> wrote:
>> Is there a pretty printing utility for Python, something like Tidy for
>> HTML?
> 
> Why not just write python as it should be written?

Oh, you write all the code you use yourself?
It's relatively common that you have some "legacy" code (e.g. from
(ex-)colleages) that doesn't conform to your style preferences/your
companys coding guidelines.
In such a case those tools can be very helpful.

-- 
Thomas Wittek
http://gedankenkonstrukt.de/
Jabber: streawkceur at jabber.i-pobox.net



More information about the Python-list mailing list