1、模板原始样式:
# -*- coding: utf-8 -*-
"""
Created on %(date)s
@author: %(username)s
"""
2、找到Tools——>选择Preference——>Editor——>Advanced Settings——>Edit template for new modules
变化模板样式可以自动调节参数date和username即可;
如:
# -*- coding: utf-8 -*-
"""
创建于 %(date)s
作者是%(username)s
"""
或者:
# -*- coding: utf-8 -*-
"""
快乐每一天!
"""