[Tutor] python formatting tool?

Scott syrinx@simplecom.net
Mon Dec 23 02:40:02 2002


Sometimes I come across a python module that looks alright, but I get a
lot of syntax errors.  So I go down the file line-by-line, stripping out
all the white space and replacing it with tabs, or vice-versa.  I just
have to massage it like that.  Then it works.  That's the only thing I
don't like about python's scoping rules.  Anyway, is there a good script
to "massage" my text that is smart enough to convert tabs and spaces and
hard-spaces, and unix-win, win-unix conversions and all that good stuff?
 Thanks.