Python如何一次性设置字符集

  1. 点击软件最左边的File
  2. 点击settings
  3. 点击Editor
  4. 点击File and Code Templates
  5. 在中间部位选择Python Script
  6. 在右边第一个框中输入# -*- coding:utf8 -*

猜你喜欢

转载自blog.csdn.net/Como0413/article/details/79132351