Pycharm 创建文件,生成文件头注释 路径:File --> Settings --> Editor --> File and Code Templates --> Python Script # coding=utf-8 """ @Proj : ${PROJECT_NAME} @File : ${NAME}.py @Date : ${DATE} ${TIME} @Author : chicken_h @Show : """