Tabs and spaces (style)

Fredrik Lundh fredrik at pythonware.com
Tue May 1 17:28:15 EDT 2001


Alex Martelli wrote:
> > What is the consensus about mixing tabs and spaces in a Python script?
>
> I don't think there is one.  Guido's style guide recommends using both,
> with a tabsize of 8, so I expect most Pythonistas follow that style.  Yet,
> for what it counts, I personally prefer setting my editors to always save
> with spaces only

note that the standard distribution uses spaces throughout.  guess
GvR hasn't gotten around to update the style guide...

Cheers /F





More information about the Python-list mailing list