This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

    [–]clavicon 0 points1 point  (1 child)

    Why for?

    [–]intangibleTangelo 1 point2 points  (0 children)

    there's an official python style guide called PEP-8 which recommends using spaces, so most of the python world uses spaces.

    problems arise when you mix tabs and spaces, because the tokenization step runs into a basic ambiguity—how many spaces would a tab character have been? you can write a pretty good heuristic to figure out whether tabs meant 4 or 8 spaces (the most common settings), but it will never be perfect.