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

2022-08-01 14:46:06 浏览数 (1)

代码语言:javascript复制
#!/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

0 人点赞