How does Pycharm set the copyright configuration file copyright

When writing a file, you will definitely encounter the need to repeatedly set the file header code or file header information. In order to save trouble, I want to search if there is any relevant automatic setting method that can be done once and for all. Here is the following article. The settings include time, author, folder, IDE and other information

1. Find the set path

The following is the path to find the window interface without Chinese

 2. Write relevant code

#!/usr/bin/python3
# _*_ coding: utf-8 _*_
#
# Copyright (C) ${YEAR} - ${YEAR} yundem, Inc. All Rights Reserved 
#
# @Time    : ${DATE} ${TIME}
# @Author  : yundem
# @File    : ${NAME}.py
# @IDE     : ${PRODUCT_NAME}

Third, you can create files independently

 

 

 

Guess you like

Origin blog.csdn.net/weixin_42019349/article/details/130317057