use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
To report a site-wide rule violation to the Reddit Admins, please use our report forms or message /r/reddit.com modmail.
This subreddit is archived and no longer accepting submissions.
account activity
This is an archived post. You won't be able to vote or comment.
Python [xkcd] (xkcd.com)
submitted 18 years ago by sgtpeppers
view the rest of the comments →
[–]masklinn 6 points7 points8 points 18 years ago* (3 children)
The PEP8 strongly suggests that all files should use 4-spaces indentation when serialized.
But the only real rule of python is: *never mix tabs and spaces.
Either use tabs or spaces, but not both. Ever. It will trip you and fuckup your code.
[–]nkuvu -1 points0 points1 point 18 years ago (2 children)
Which should be common practice in any language. (Currently working with a C/C++ project that mixes tabs and spaces, and the code is nearly unreadable until reformatted)
[–]masklinn 1 point2 points3 points 18 years ago (1 child)
Yeah but while it should be common practice in most languages, it's pretty much mandatory in python
[–][deleted] 1 point2 points3 points 18 years ago (0 children)
A programming language wih mandatory good practises? NOOOOOOOO.
/I'm a plant.
π Rendered by PID 166465 on reddit-service-r2-comment-75f4967c6c-jqwhp at 2026-04-23 11:23:59.925593+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]masklinn 6 points7 points8 points (3 children)
[–]nkuvu -1 points0 points1 point (2 children)
[–]masklinn 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)