Tab indentions on different platforms?

John Nagle nagle at animats.com
Sat Dec 29 23:48:11 EST 2007


Thorsten Kampe wrote:
> * xkenneth (Fri, 28 Dec 2007 14:51:04 -0800 (PST))
>> I seem to be having problems with running my python code, written on
>> a Mac, on Linux and Windows boxes.
> 
> You seem to have problems or you do have problems?
> 
>> It seems like the problem has to do with tab indention,

    It really should be a syntax error in Python to mix
leading tabs and leading spaces in the same file.  One can argue over
which to use, but a file with both usually leads to trouble.

				John Nagle



More information about the Python-list mailing list