姿态 发表于 2019-3-14 16:25:00

PyCharm设置模板

File->Editor->File and Code Templates->Files->Python Script
#!/usr/bin/env
# coding:utf-8
"""
Created on ${DATE} ${TIME}

base Info
"""
__author__ = '${USER}'
__version__= '1.0'

import sys
reload(sys)
sys.setdefaultencoding('utf-8')

Miss_love 发表于 2020-12-31 08:49:51

支持分享
页: [1]
查看完整版本: PyCharm设置模板