In [26]: from urllib.parse import unquote
InIn [27]: from urllib.parse import quote
IIn [28]: quote("街拍")
Out[28]: '%E8%A1%97%E6%8B%8D'
In [29]: from urllib.parse import unquote
In [30]: unquote(quote("街拍"))
Out[30]: '街拍'
In [26]: from urllib.parse import unquote
InIn [27]: from urllib.parse import quote
IIn [28]: quote("街拍")
Out[28]: '%E8%A1%97%E6%8B%8D'
In [29]: from urllib.parse import unquote
In [30]: unquote(quote("街拍"))
Out[30]: '街拍'
上一篇:代理的使用
下一篇:selenium 上传文件
python查询汉字函数
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M