Bret wrote: > Does anyone know of a package that can be used to "fix" bad formatting > in Python code? I don't mean actual errors, just instances where > someone did things that violate the style guide and render the code > harder to read. > > If nothing exists, I'll start working on some sed scripts or something > to add spaces back in but I'm hoping someone out there has already > done something like this. > > Thanks! > > > Bret Wortman > This may not be exactly what you want, but if you use Gedit there is a handy reindent plugin.
http://live.gnome.org/Gedit/Plugins/Reindent -- http://mail.python.org/mailman/listinfo/python-list