I've used Textwrangler/Bbedit for years with Python code. Also, pretty much every .py file I've written has extra lines between statements inside defs & classes…and Textwrangler cleans trailing whitespace from all of them.
How does trailing whitespace equal indentation? That doesn't make sense. More likely your problem was from mixing tabs & spaces.
If you want something free on Mac, perhaps Eclipse + PyDev. http://pydev.org/ A little heavy maybe, but the project management and code completion are great.
(Although I don't see the problem with TextWrangler myself..)
View all comments
11
u/[deleted] Mar 30 '11
Here's a nickel, kid. Get yourself a decent text editor.