18
shahlin
7y

Saw this in the Python documentation. Why no taaabs 😭😭

tabs > spaces

Comments
  • 9
    because python needs consistent white space.

    tabs "\t" dont always provide that

    but just use an IDE that can take a "TAB" and drop spaces in instead.
  • 2
    @C0D4 oh yeah, now that I think about it, it makes sense. But I'll just use tabs with 4 spaces 😂
  • 2
    Just use tabs and set your editor to compile to spaces on save.
  • 2
    @peacWhis alot of IDE's do, or at least can be configured to do it.
  • 0
    1st: Launch pyCharm
    2nd: Open your .py
    3rd: Ctrl + alt + l
    23th: Problem solved
Add Comment