Pycharm set quick comment

Set to python quick comment

1. Open pycharm software, enter [file] --- [Settings] - [file and code templates] - [Python Script]

 

2. Edit template

code show as below:

##! usr/bin/python3
# -*- coding:utf-8 -*-
# @Time: ${DATE} ${TIME}
# @Author: shiguang
# @Email: [email protected]
# @File: ${NAME}.py

Editing is complete, click OK

 

 3. New python file, view the results

 

Guess you like

Origin www.cnblogs.com/kite123/p/11628269.html