PyCharm新建.py文件时默认添加作者时间等信息

打开pycharm,选择File-Settings-Editor-File and Code Templates

在python script填入:

# coding: utf-8
# @Author    :shelley
# @time      :${DATE}${TIME}


 

发布了249 篇原创文章 · 获赞 198 · 访问量 47万+

猜你喜欢

转载自blog.csdn.net/qq_27009517/article/details/104529970