pretty print, tidy, reindent.py

Ron Adam rrr at ronadam.com
Wed Mar 15 16:12:26 EST 2006


kpp9c wrote:
> What ever happened to reindent.py ? This used to be part of the
> distribution. Does it still work with modern versions of python?
> 
> A lot of the code i drag off here (even if i use "show original"!)
> comes out all messed up and i end up having to clean a lot of it up. I
> wonder if there is a reformatter/pretty printer that like perl tidy
> that might help. I see i have tabnanny, but that only complains... i
> want something that fixes automagically.
> 
> -kp8--

What you're looking for is in "Python24/Tools/Scripts" directory.

Cheers,
   Ron



More information about the Python-list mailing list