1. 程式人生 > >PyCharm 自動添加作者及時間

PyCharm 自動添加作者及時間

ins scrip 時間 自動添加 emp ati 內容 路徑 odin

打開pycharm,快捷鍵ctrl + alt + s 打開模板設置自己所需內容

完整打開路徑:file>settings>editor>code style>file and code templates>python script

#!/usr/bin/python
# -*- coding: UTF-8 -*-
# @date: ${DATE} ${TIME}
# @name: ${NAME}
# @author:vickey-wu

官網設置模板的鏈接:https://www.jetbrains.com/help/pycharm/2017.1/creating-and-editing-file-templates.html

PyCharm 自動添加作者及時間