临街小站

Pycharm模板

  • Step1

进入File->settings->Editor->File and Code Templates->Python Script

  • Step2

添加以下内容:

# encoding: utf-8

  • Step3

额外的板信息

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# encoding: utf-8

#set( $SITE = "http://peihao.space" )

"""
@version: ??
@author: chuangwailinjie
@license: Apache Licence
@contact: chuangwailinjie@gmail.com
@site: ${SITE}
@software: ${PRODUCT_NAME}
@file: ${NAME}.py
@time: ${DATE} ${TIME}
"""

def func():
pass


class Main():
def __init__(self):
pass


if __name__ == '__main__':
pass
clinjie wechat
Think about u every day