PyCharm - 自动缩进代码 (Auto-Indent Lines)
1. Ctrl + A
全选代码。
2. Code -> Auto-Indent Lines
自动缩进快捷键 Ctrl + Alt + I。
更多Python技术,请关注。