TABs (was: Waffling between Python and Ruby)

Paul Jackson pj at sgi.com
Mon Jun 19 15:49:07 EDT 2000


|> 'Tabs will be replaced with %d spaces\n Are you sure
|> Y/N:'%tabSize)

But a tab isn't 8 spaces, but rather the number of
spaces needed to get to the next multiple of 8 column,
which might be less than 8 spaces (s/8/tabSize/g, if
you must).

The expand/unexpand solution presented in another reply
look more promising, in my view.
-- 
-- 
I won't rest till it's the best ...	   Software Production Engineer
Paul Jackson (pj at sgi.com; pj at usa.net) 3x1373 http://sam.engr.sgi.com/pj



More information about the Python-list mailing list