##!/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改成你自己的就好
##!/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改成你自己的就好