indendation question

Dan Bishop danb_83 at
Fri Dec 26 07:05:21 CET 2003

km <km at> wrote in message news:<mailman.115.1072408950.684.python-list at>...
> Hi all,
> What is the standard and recommended way of indendation one should get to use
> in python programming? is it a tab or 2 spaces or 4 spaces? i am confused.
> kindly enlighten

It doesn't matter how much indentation you use, as long as you're
consistent.  But it is recommended to never use tabs, and *strongly*
recommended to never mix tabs and spaces.

I usually use 3 spaces.  Most of the regulars on this newsgroup use 4.

More information about the Python-list mailing list