How to remove tab indent from several lines in IDLE?

前端 未结 8 1434
长发绾君心
长发绾君心 2021-01-30 13:04

If you want to indent several lines in Python IDLE you just mark the lines and hit Tab. But what if you want to remove the indent from several lines? Shift+Tab does not work for

8条回答
  •  盖世英雄少女心
    2021-01-30 13:51

    For IDLE, select the lines, then open the "Format" menu. (Between "Edit" and "Run" if you're having trouble finding it.) This will also give you the keyboard shortcut, for me it turned out that dedent shortcut was "Ctrl+["

提交回复
热议问题