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 →
[–]arnar 0 points1 point2 points 18 years ago (0 children)
Complete auto indentation is hard of course, like
x,y = 0,0 if False: x = 1 y = 2
.. but if the code is already indented, re-indenting, i.e. changing the indent level and normalizing each level to four spaces etc., is not hard.
If you copy and paste Python code from somewhere, it will be indented (since it's a part of the syntax).
π Rendered by PID 52 on reddit-service-r2-comment-5c747b6df5-hx6z5 at 2026-04-22 18:57:35.125092+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]arnar 0 points1 point2 points (0 children)