Liste des Groupes | Revenir à cu shell |
(2) You want to temporarily comment out an 'if' line so that the
following block is unconditional. You can't do that with also
unindenting the block.
And, also the block then merges with the
following one as it's at the same level, so when you want to change it
back...
(6a) And maybe there's big comment blocking in the middle of block;
comments don't need nesting! If there are lots of comments and few
statements, finding the end of the block (ie. the last statement of this
block) can become quite an exercise.
(7) You take some Python code you've seen online (eg. in a usenet post)
and paste into your editor. Maybe you want to merge it with your own
code.
But its tabbing is all spaces; yours is all tabs. Plus invariably, the
whole thing has extra indentation (eg. the leftmost statement is already
indented). Or you want to copy code from within a block to a different
indent level.
Les messages affichés proviennent d'usenet.