- 打开PyCharm,File->Settings
- 选择Editor-->Color&Style-->File and Templates-->Python Script
- 编辑内容:
##!/usr/bin/python3
# -*- coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Author : Bobo
# @Email : bobo@foxmail.com
# @File : ${NAME}.py
# @Software: ${PRODUCT_NAME}
瞬间高逼格了,效果如下:
# -*- coding: utf-8 -*-
# @Time : 2018/11/6 10:03
# @Author : Bobo
# @Email : bobo@foxmail.com
# @File : demo.py
# @Software: PyCharm