22
22
安装本部分涉及到的包
23
23
` pip install baidu-aip lxml Pillow requests `
24
24
25
- 在终端窗口下,使用 ` Git checkout ` 代码:
25
+ 在终端窗口下,使用 ` Git clone ` 代码:
26
26
```
27
27
git clone https://github.com/sssimonyang/swjtudean
28
28
cd swjtudean
@@ -38,7 +38,6 @@ cd swjtudean
38
38
应用的名字和简介随便写,创建成功后会显示` AppID API Key Secret Key `
39
39
在该目录下创建` config.py `
40
40
41
- -----------
42
41
` config.py `
43
42
```
44
43
APP_ID = '17868961' # 对应替换为你申请的AppID
@@ -79,7 +78,7 @@ if __name__ == '__main__':
79
78
parser = argparse.ArgumentParser()
80
79
parser.add_argument("-id", "--id", help="specify your user id")
81
80
parser.add_argument("-pw", "--password", help="specify your user password")
82
- parser.add_argument("-email ", "--email", help="specify your email address to send to")
81
+ parser.add_argument("-e ", "--email", help="specify your email address to send to")
83
82
args = parser.parse_args()
84
83
if args.id and args.password:
85
84
process(args.id, args.password, args.email)
@@ -92,7 +91,7 @@ python main.py
92
91
`
93
92
或
94
93
`
95
- python main.py -id <your_user_id> -pw <your_user_password>'
94
+ python main.py -id <your_user_id> -pw <your_user_password> -e <your_email> '
96
95
`
97
96
98
97
### 批量化
0 commit comments