- 博客(4)
- 收藏
- 关注
转载 Python UnicodeEncodeError: 'gbk' codec can't encode character 解决方法
使用Python写文件的时候,或者将网络数据流写入到本地文件的时候,大部分情况下会遇到:UnicodeEncodeError: 'gbk' codec can't encode character '\xa0' in position ... 这个问题。 网络上有很多类似的文件讲述如何解决这个问题,但是无非就是encode,decode相关的,这是导致该问题出现的真正原因吗?不是的。 很多时候,我
2017-09-28 17:52:30
467
转载 python爬虫过程报错:http.client.RemoteDisconnected: Remote end closed connection without response
爬虫过程报错:http.client.RemoteDisconnected: Remote end closed connection without response因为服务器根据 UA 来判断拒绝了 python 爬虫。
2017-09-28 16:18:58
34880
5
转载 jquery
$("*")选取所有元素在线实例$(this)选取当前 HTML 元素在线实例$("p.intro")选取 class 为 intro 的 元素在线实例$("p:first")选取第一个 元素在线实例$("ul li:first")选取第一个 元素的第一个 元素 在线实例$("ul li:first-child")选取每个
2017-09-14 18:00:01
256
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人