New utility: tabs2spaces.py

I’ve just created a Python script that will take a filename on the command line and convert all of its tabs into the given number of spaces (2nd argument). Click here to download.

It doesn’t overwrite the original file but instead creates a new file with a “notabs_” prefix.  Script is covered by the GNU GPL.

-Wayne

One response to New utility: tabs2spaces.py

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.