<div dir="ltr"><div><div>Hi!<br>I do appreciate that indentation in Python code shows intention, and I am all for it, but problems do arise if code is copied from one place to
another, even from specialized Python editors.... and there is little you can do to recover intentions/indentations lost in the process.<br><div>Besides, spaces become difficult to count and distinguish from tabs, adding to the problem. (Why allow tabs at all?)<br>
<br>
</div>Why can't Python be made to accept the following indentation of code (in <b>addition</b> to the current schemes)? There could be some flexibility of choosing the indentation character. (Pipe was mentioned as an alternative in another thread)<br>
<br>for i in range(10):<br>.if i>5:<br>..print 10-i<br>.else:<br>..print i<br>print "!"<br><br>If
not in the interpreter for some reason, could it be "advised" as a mode
in a python oriented editor, or a "dictated" mechanism for copy/paste/transfer of
code?<br>
<div><br></div>Sorry for posing an elementary question.<br><br></div>Thanks and regards<br></div>MK-zedobject<br></div>