> > The problem is, how do I figure out how many spaces represent a tab? In one > case, someone could have their editor configured to allow tabs to use 3 > spaces and the user could intermingle tabs and spaces. In other cases, a > user might have their editor configured to have a tab equal 8 spaces yet > also intermingle tabs and spaces. When a human looks at the document it is > obvious the setting but how can I make it obvious to my program? then statistics can do it too.
-- cheers, Stef Mientki http://pic.flappie.nl -- http://mail.python.org/mailman/listinfo/python-list