系统配置-PyCharm中添加Python文件模板

位置:File-Settings

选项:Editor, File and Code Templates, Python Script

fig01

1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-
# @Time : ${DATE}
# @Author : ForestNeo
# @Site : forestneo.com
# @Email : dr.forestneo@gmail.com
# @File : ${NAME}.py
# @Software: ${PRODUCT_NAME}
# @Function:


if __name__ == '__main__':
pass
Thanks for rewarding