Pycharm在建立py檔案時,自動新增檔案頭註釋

Pycharm在建立py檔案時,自動新增檔案頭註釋
1.選擇File -> Settings
2.選擇 File and Code Templates -> Files -> Python Script
編輯程式碼的樣式
#!/usr/bin/env python
# encoding: utf-8
”’
@author: caopeng
@license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited.
@contact: [email protected]
@software: garner
@file: ${NAME}.py
@time: ${DATE} ${TIME}
@desc:
”’
3.新建一個python,檔案如下所示