首先选中要操作的部分

Pycharm编辑器:

整体缩进:

Tab

整体取消缩进:

Tab + Shift


python自带编辑器:

整体缩进:

Ctrl + 【

整体取消缩进:

Ctrl + 】

更多推荐