r/Python • • Apr 29 '20

Discussion Tab vs Spaces

Post image
702 Upvotes

72 comments sorted by

View all comments

Show parent comments

12

u/Shakaka88 Apr 30 '20

Glad someone pointed this out Glad it’s currently too comment Comic is funny, but people should know that spaces are preferred in the PEP style guide

12

u/ggchappell Apr 30 '20 edited Apr 30 '20

people should know that spaces are preferred in the PEP style guide

FTFY ;-)

0

u/[deleted] Apr 30 '20

[deleted]

1

u/Ignisor Apr 30 '20

PyCharm use 120 line chars max length by default. And many developers do so

-4

u/flying-sheep Apr 30 '20

Which is completely irrelevant because PEP 8 is a style guide for Python’s stdlib, not arbitrary projects!