File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,27 +14,29 @@ File -->> Setting -->> Editor -->> File and Code Templates -->> Python Script
1414
1515在模块里顶部加入下面语句
1616
17- #!/usr/bin/env python
18- # encoding: utf-8
17+ ```
18+ #!/usr/bin/env python
19+ # encoding: utf-8
1920
20- """
21- @author: ${USER}
22- @software: ${PRODUCT_NAME}
23- @file: ${NAME}.py
24- @time: ${DATE} ${TIME}
25- """
21+ """
22+ @author: ${USER}
23+ @software: ${PRODUCT_NAME}
24+ @file: ${NAME}.py
25+ @time: ${DATE} ${TIME}
26+ """
2627
27- def func():
28- pass
28+ def func():
29+ pass
2930
3031
31- class Main(object):
32- def __init__(self):
33- pass
32+ class Main(object):
33+ def __init__(self):
34+ pass
3435
3536
36- if __name__ == '__main__':
37- pass
37+ if __name__ == '__main__':
38+ pass
39+ ```
3840
3941
4042
@@ -61,3 +63,9 @@ View -->> Active Editor,勾选 Show Line Numbers。
6163```
6264File -->> Settings -->> Editor -->> Appearance ,勾选 Show Line Numbers。
6365```
66+
67+
68+ ### 四、插件安装
69+ ```
70+ Preferences -->> Plugins, 搜索,选择,安装
71+ ```
You can’t perform that action at this time.
0 commit comments