回答編集履歴

3

プログラムミスを修正

2018/10/03 05:13

投稿

takey
takey

スコア312

test CHANGED
@@ -10,11 +10,11 @@
10
10
 
11
11
  import lxml
12
12
 
13
- print("bs4 ==> " + bs4.__path__)
13
+ print("bs4 ==> " + "".join(bs4.__path__))
14
14
 
15
- print("html5lib ==> " + html5lib.__path__)
15
+ print("html5lib ==> " + "".join(html5lib.__path__))
16
16
 
17
- print("lxml ==> " + lxml.__path__)
17
+ print("lxml ==> " + "".join(lxml.__path__))
18
18
 
19
19
  ```
20
20
 
@@ -28,6 +28,6 @@
28
28
 
29
29
  import bs4
30
30
 
31
- print("_html5lib ==> " + bs4.builder._html5lib)
31
+ print(bs4.builder._html5lib)
32
32
 
33
33
  ```

2

typoの修正

2018/10/03 05:13

投稿

takey
takey

スコア312

test CHANGED
@@ -24,7 +24,7 @@
24
24
 
25
25
  以下も見せてください
26
26
 
27
- ```
27
+ ```python
28
28
 
29
29
  import bs4
30
30
 

1

モジュールのパスの確認

2018/10/03 04:57

投稿

takey
takey

スコア312

test CHANGED
@@ -17,3 +17,17 @@
17
17
  print("lxml ==> " + lxml.__path__)
18
18
 
19
19
  ```
20
+
21
+
22
+
23
+ 【追記】
24
+
25
+ 以下も見せてください
26
+
27
+ ```
28
+
29
+ import bs4
30
+
31
+ print("_html5lib ==> " + bs4.builder._html5lib)
32
+
33
+ ```