Any python code prettifiers out there?

Robert Cragie rcc at nospamthanks_jennic.com
Wed May 3 09:27:19 EDT 2000


Have you looked at the standard 'pprint' module?

http://www.python.org/doc/current/lib/module-pprint.html

are-we-all-supposed-to-sign-off-like-this-ly yr's

Robert

Ryan <ryang at synthesys.com> wrote in message
news:evrugs0ensnmom9nqfmlbv7cv9kff686b1 at 4ax.com...
| I know that Python's syntax rules force one's code to be much more
| readable by default than most other languages; however, in certain
| instances, there still exist different styles that individual
| programmers can use.
|
| Consequently, I'm wondering if there exists any Python equivalent to
| the FSF program "indent" for C code.  I would find this an extremely
| useful tool for providing a quick way to make large sets of Python
| source files follow a standard.  As the simplest example of a feature
| of such a program: it could line up consecutive assignment statements.
|
| I tried the search engine on python.org and I couldn't find anything
| relevant.
|
| Thanks for any info :)
|
| --Ryan





More information about the Python-list mailing list