1.进入setting->Editor->File and Code Templates->Python Script
2.添加内容
# coding = 'utf-8'# @作者: zach# @时间:${DATE} ${TIME}# @文件:${NAME}.py
3.效果