Available for use: Tabs management software

J

James Harris

In case someone else finds it useful here is a program I wrote a year
or so ago to help manage tab characters. It will convert tabs to runs
of spaces, convert runs of spaces to tabs, or count or check for tab
characters as required. It supports tab stops at regular and irregular
positions.

http://codewiki.wikispaces.com/tabs.py

It is written in Python and you can either use it from the command
line or call the functions from another Python script. Documentation
is included on the web page.

James
 
J

James Harris

In case someone else finds it useful here is a program I wrote a year
or so ago to help manage tab characters. It will convert tabs to runs
of spaces, convert runs of spaces to tabs, or count or check for tab
characters as required. It supports tab stops at regular and irregular
positions.

 http://codewiki.wikispaces.com/tabs.py

It is written in Python and you can either use it from the command
line or call the functions from another Python script. Documentation
is included on the web page.

After posting this I realised the code had a dependence on a separate
debugging module. I've commented-out all such references and tested it
in isolation from other code. Everything behaved as it should so if
you download it you should find it just works. The only dependence is
on Python (i.e. Python 2.x; I gather 3.x needs print statements and
maybe other stuff to be changed). Any issues, feel free to post them
here.

James
 
D

Dennis Lee Bieber

In case someone else finds it useful here is a program I wrote a year
or so ago to help manage tab characters. It will convert tabs to runs
of spaces, convert runs of spaces to tabs, or count or check for tab
characters as required. It supports tab stops at regular and irregular
positions.

http://codewiki.wikispaces.com/tabs.py
So far as I know untabify.py is part of a standard distribution and
converts tabs to spaces...

And tabnanny.py is in the libary to check for files...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top