pycharm 預設Tab為4個空格
1【File】→【setting】
編輯
2.【Editor】→【Code Style】→【Python】
編輯
二、pycharm空格顯示
【General】→【Appearance】→ Show whitespaces
編輯
效果如下
1【File】→【setting】
編輯
2.【Editor】→【Code Style】→【Python】
編輯
二、pycharm空格顯示
【General】→【Appearance】→ Show whitespaces
編輯
效果如下