faqts : Computers : Programming : Languages : Python

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 2 people (50%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

Are there any code formatters/beautifiers (like PerlTidy or "indent") available for Python?

Aug 24th, 2003 03:39
Daniel Haertle, Python Vagabond,


There are no Python source code formatters/beautifiers since much of 
what they do (correct indentation) is already naturally correct in 
Python code (whitespace matters!)
A tool that adjusts spaces around operators, and so would IMO be useful 
for Python too, but up to now (August 2003) I don't know any.