1、 File -- Settings -- Editor -- File and Code Templates -- Python Script --
2, header file information template
# encoding: utf-8
"""
@author: 你的名字
@contact: 你的邮箱
@software: ${PRODUCT_NAME}
@file: ${NAME}.py
@time: ${DATE} ${TIME}
"""
3. Results: