1,打开pycharm,选择file->settings
2, 找到Editor->FIle and Code Template
3,选择右侧的 Python script
4, 然后在空白区域填写以下内容
#!/usr/bin/env python
# encoding: utf-8
'''
@author: mrli
@license: (C) Copyright 2013-2017, Node Supply Chain Manager Corporation Limited.
@contact: 15101006331@163.com
@software: pycharm
@file: ${NAME}.py
@time: ${DATE} ${TIME}
@desc:
'''
5,然后点击ok
6, 创建一个.py文件,就可以看到我们想要的内容了