mac 配置pycharm默认文件头部
路径
Pycharm->Preferences->Editor->File and Code Templates->Python Script

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

# -*- coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Author : xx
# @File : ${NAME}.py