Python indentation (3 spaces)
Chris Angelico
rosuav at gmail.com
Fri Oct 5 16:53:37 EDT 2018
On Sat, Oct 6, 2018 at 6:51 AM <ts9564 at gmail.com> wrote:
>
> I am new to Python programming but have significant SQL and C experience. My simple question is,"Why not standardize Python indentations to 3 spaces instead of 4 in order to avoid potential programming errors associated with using "TAB" instead of 4 spaces?"
> Thoughts?
I don't understand how three spaces would prevent errors in a way that
four wouldn't. But you're absolutely welcome to standardize all of
your own code on indenting with tabs instead of spaces, or two space
indents, or three, or four, or seventeen if you so desire.
ChrisA
More information about the Python-list
mailing list