??,??? 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" -- http://mail.python.org/mailman/listinfo/python-list