pycharm 新建py文件写时有作者和时间

2022-10-17,,,,

##!/usr/bin/python3
# -*- coding: utf-8 -*-

'''
@time    : ${date} ${time}
@author  : yourname
@filename: ${name}.py
@software: ${product_name}

'''

打开pycharm后,setting->editor->file and code templates -> python scrpit 中粘贴以上代码,其中anthor改成你自己的就好

 

《pycharm 新建py文件写时有作者和时间.doc》

下载本文的Word格式文档,以方便收藏与打印。