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