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