会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
在这里, 意淫和实干都值得尊重
阿谋
博客园
首页
新随笔
管理
上一页
1
···
19
20
21
22
23
24
25
26
27
···
34
下一页
2018年6月4日
Fiddler中Response 的Raw乱码问题解决
摘要: Fiddler中Response 的Raw乱码问题解决 有时候我们看到Response中的HTML是乱码的, 这是因为HTML被压缩了, 我们可以通过两种方法去解压缩。 1. 点击Response Raw上方的"Response body is encoded. click to decode."
阅读全文
posted @ 2018-06-04 00:42 阿谋
阅读(1360)
评论(0)
推荐(0)
2018年6月3日
url编码与解码
摘要: URL编码格式函数描述: 注: urllib2 在python3中变为 urllib.request注: urllib.urlencode 在python3中变为 urllib.parser.urlencode 编码: 编码工作使用的urllib.parse.urlencode()函数, 帮我们将k
阅读全文
posted @ 2018-06-03 15:43 阿谋
阅读(244)
评论(0)
推荐(0)
URLError与HTTPError
摘要: urllib2 的异常错误处理 在我们用urlopen或opener.open方法发出一个请求时,如果urlopen或opener.open不能处理这个response,就产生错误。 这里主要说的是URLError和HTTPError,以及对它们的错误处理。 URLError URLError 产生
阅读全文
posted @ 2018-06-03 14:06 阿谋
阅读(4431)
评论(0)
推荐(0)
2018年6月2日
TypeError: cannot use a string pattern on a bytes-like object
摘要: 一劳永逸解决:TypeError: cannot use a string pattern on a bytes-like object 一劳永逸解决:TypeError: cannot use a string pattern on a bytes-like object TypeError: c
阅读全文
posted @ 2018-06-02 23:47 阿谋
阅读(4022)
评论(0)
推荐(0)
有道桌面程序
摘要: 有道桌面程序 from tkinter import * from tkinter import messagebox import requests def translation(): # 获取用户输入的单词 content = entry.get() print(content) if con
阅读全文
posted @ 2018-06-02 22:12 阿谋
阅读(221)
评论(0)
推荐(0)
上一页
1
···
19
20
21
22
23
24
25
26
27
···
34
下一页
公告