RT,其实默认已经就是了。

  File >> Settings >> Editor >> Code Style >> Python

  Tab Size 默认是设置为4个空格。

  Pycharm Tab键设置成4个空格

 

相关文章: