how to format a python source file with tools?

Marco Mariani marco at sferacarta.com
Fri Nov 27 06:04:04 EST 2009


??,??? 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"



More information about the Python-list mailing list