#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Author : Aries
# @Site : ${SITE}
# @File : ${NAME}.py
# @Software: ${PRODUCT_NAME}
设置方法
打开pycharm >> File >> settings >> Editor >> File and Code Templates >> Python Script
将内容复制进去即可
原文:https://www.cnblogs.com/kali404/p/11745128.html