Pycharm 创建py文件自动添加文件头注释

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : ${DATE} ${TIME}
# @Author  : Aries
# @Site    : ${SITE}
# @File    : ${NAME}.py
# @Software: ${PRODUCT_NAME}

File->settings->Editor->File and Code Templates->Python Script

 

posted @ 2022-07-24 18:24  QualityAssurance21  阅读(87)  评论(0编辑  收藏  举报