how to format a python source file with tools?

李白,字一日 calidion at gmail.com
Fri Nov 27 09:39:08 EST 2009


On Nov 27, 7:04 pm, Marco Mariani <ma... at sferacarta.com> wrote:
> ??,??? wrote:
> > or is it possible for large source files?
>
> Google for polystyle.
>
> It's a tool that reformats a program (in several languages) using an
> example you must provide (let's call it a "style sheet", written in
> Python or whatever) of how you would want to format it.
>
> You can then reformat any python program according to your "style sheet"

greate!



More information about the Python-list mailing list