设置路径: File -> Settings -> Editor -> File and Code Templates->Python Script #-*- encoding: utf-8 -*- ''' @File : ${NAME}.py @Modify Time @Author @Version @Desciption ------------ ------- -------- ----------- ${DATE} ${TIME} 修改 1.0 None ''' 设置完成后记得保存设置,注意大小写