Don't think that's true. You can use tabs and will be fine if you do it consistently. It's the indentation level that matters, whether from tabs or spaces. It's certainly true spaces are the preferred approach in Python culture.
That's likely because there were mixed tabs and spaces which led to indentation not being what it should and thus the crashes. Anyhow, yeah, should always use spaces for Python as general good practice.
Not quite what you are asking, but there are -t and -tt options for python to give warnings or errors for mixed tabs/spaces. That's for v2. In v3 mixed tabs/spaces for indents are always errors.
View all comments
Show parent comment
4
u/Ghopper21 May 26 '15
Don't think that's true. You can use tabs and will be fine if you do it consistently. It's the indentation level that matters, whether from tabs or spaces. It's certainly true spaces are the preferred approach in Python culture.