Skip to content

Commit 045ff2e

Browse files
committed
更新Pycharm文档说明
1 parent 494f2f7 commit 045ff2e

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

Pycharm.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff 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
```
6264
File -->> Settings -->> Editor -->> Appearance ,勾选 Show Line Numbers。
6365
```
66+
67+
68+
### 四、插件安装
69+
```
70+
Preferences -->> Plugins, 搜索,选择,安装
71+
```

0 commit comments

Comments
 (0)