1.Settings(Ctrl+Alt+S)->Editor->File and Code Templates->Python Script
2.按照自己内容编辑,eg:
"""
=====================
@author:BaiXiaoBai
@time:${DATE}:${TIME}
@IDE:${PRODUCT_NAME}
=====================
"""
新建py文件如下效果:
1.Settings(Ctrl+Alt+S)->Editor->File and Code Templates->Python Script
2.按照自己内容编辑,eg:
"""
=====================
@author:BaiXiaoBai
@time:${DATE}:${TIME}
@IDE:${PRODUCT_NAME}
=====================
"""
新建py文件如下效果: