We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af9cc51 commit 9115129Copy full SHA for 9115129
BDTB/百度贴吧爬虫.md renamed to BDTB/README.md
@@ -117,7 +117,7 @@ response.read()返回的是utf-8编码,需要用decode()方法转化成unicode
117
118
第一次写入文件后发现在utf-8的编码模式下是乱码,我猜想是写入的是Unicode编码的文字,在file.open()方法中有个encoding参数,设置为utf-8就不会出现乱码贴一下廖雪峰大大博客里关于编码的讲解
119
120
-
+
121
122
打开参数:
123
0 commit comments