1、 File -- Settings -- Editor -- File and Code Templates -- Python Script --
2、 头部文件信息模板
# encoding: utf-8
"""
@author: 你的名字
@contact: 你的邮箱
@software: ${PRODUCT_NAME}
@file: ${NAME}.py
@time: ${DATE} ${TIME}
"""
3、结果:
1、 File -- Settings -- Editor -- File and Code Templates -- Python Script --
2、 头部文件信息模板
# encoding: utf-8
"""
@author: 你的名字
@contact: 你的邮箱
@software: ${PRODUCT_NAME}
@file: ${NAME}.py
@time: ${DATE} ${TIME}
"""
3、结果: