pycharm添加头

File->settings->Editor->File and Code Templates->Python Script
添加以下代码:

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : ${DATE} ${TIME}
# @Author  : Aries
# @Site    : ${SITE}
# @File    : ${NAME}.py
# @Software: ${PRODUCT_NAME}

你可能感兴趣的:(pycharm添加头)