IDE:设置作者、时间等参数

IDEA

setting -> Editor -> File and Code Templates - > Includes

/**
 * Created with IntelliJ IDEA.
 * @Author: XXX
 * @Date: ${YEAR}/${MONTH}/${DAY} ${TIME}
 * @Description: 
 */

Pycharm

setting -> Editor -> File and Code Templates -> Files -> Python Script

# -*- coding: utf-8 -*-
"""
Created with ${PRODUCT_NAME}
@Auth XXX
@Date ${DATE} ${TIME}
@File ${NAME}.py
@Description 
"""

猜你喜欢

转载自blog.csdn.net/weixin_38676276/article/details/108813946