Easiest way to reindent / tidy Python code in Coda?
Anyone have a clever way of quickly fixing indentation problems in Python documents in the Coda editor for Mac?
Some h开发者_Go百科ave said that reindent.py
is the way to go, but it doesn't even ship with all versions of Python. Thoughts?
You can get reindent.py
from the following link: http://svn.python.org/view/python/trunk/Tools/scripts/reindent.py?revision=66903&view=markup
(Note: Original link from an old Alex Martelli comment whose reference I've lost.
精彩评论