File->settings->Editor->File and Code Templates->Python Script
添加以下代码:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : ${DATE} ${TIME}
# @Author : Moyan# @Site : ${SITE}
# @File : ${NAME}.py
# @Software: ${PRODUCT_NAME}