whitespace.py module

Michael Hudson mwh21 at cam.ac.uk
Wed Nov 24 20:25:20 CET 1999


Skip Montanaro <skip at mojam.com> writes:

>     Rajesh> I'm new to the python language, and the newsgroup. So, if this
>     Rajesh> newsgroup is not appropriate for this type of posting, please
>     Rajesh> pardon my ignorance and notify me.
> 
> Perfectly appropriate.
> 
>     Rajesh> I have written up a module called `whitespace.py' available at
>     Rajesh> <URL:http://www.dsmit.com/python/>
> 
>     Rajesh> and a sample program `whitespace' which uses this module, also available at
>     Rajesh> the same URL.
> 
> Have you checked out tabnanny in Tools/scripts/tabnanny.py of the Python
> distribution?  A merging of interests might be useful.  I suspect the two
> scripts detect similar problems.

I thought about posting that exact sentiment - but looked at the
website first. "whitespace.py" is designed to deal with text files; it
converts spaces to tabs, spots trailing spaces on lines, that sort of
thing. Not particularly useful to me, but not tabnanny either.

Cheers,
Michael





More information about the Python-list mailing list