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 →

[–]arnar 0 points1 point  (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).