Larry Wall's comment on python...

Greg Ewing see_reply_address at something.invalid
Sun Sep 22 20:41:55 EDT 2002

Courageous wrote:

> One should use spaces
> and not tabs in Python code. Otherwise, any python file where
> tabs and spaces are mixed is also a choice of which indentation
> level other viewers of the code MUST use in their editors.

If you use spaces only, you're also choosing how other
people will see it in their editors (unless they're
willing to use a tool to re-indent it).

Using *tabs* only is the only way to get truly
preference-independent indentation.

Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand

More information about the Python-list mailing list