質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -37,4 +37,19 @@
|
|
37
37
|
```
|
38
38
|
# -*- coding: utf-8 -*-
|
39
39
|
from selenium import webdriver
|
40
|
-
```
|
40
|
+
```
|
41
|
+
test.pyを下記のように書き換えたら動きました。
|
42
|
+
```
|
43
|
+
# -*- coding: utf-8 -*-
|
44
|
+
import re
|
45
|
+
```
|
46
|
+
下記の場合はseleniumの時と同様にインポートできずに実行できませんでした。
|
47
|
+
```
|
48
|
+
# -*- coding: utf-8 -*-
|
49
|
+
from tqdm import tqdm
|
50
|
+
```
|
51
|
+
```
|
52
|
+
# -*- coding: utf-8 -*-
|
53
|
+
from bs4 import BeautifulSoup
|
54
|
+
```
|
55
|
+
すべてターミナルから直接実行した場合はエラーなく実行できます。
|