Pretty Printing Like Tidy for HTML

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

> On Sat, 07 Jul 2007 21:35:40 +0300, David <dwarnold45 at>
> 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
Jabber: streawkceur at

More information about the Python-list mailing list