Pycharm->Preferences->Editor->File and Code Templates->Python Script
# -*- coding: utf-8 -*- # @Time : ${DATE} ${TIME} # @Author : xx # @File : ${NAME}.py