python url中文转码_python实现转换url编码的方法
urllib.parse命令:url编码转换
>>> import urllib.parse
>>>
>>> a = "%25%21%40"
>>>
>>> b = urllib.parse.unquote(a)
>>>
>>> print(b)
%!@
>>>
urllib.parse命令:url编码转换
>>> import urllib.parse
>>>
>>> a = "%25%21%40"
>>>
>>> b = urllib.parse.unquote(a)
>>>
>>> print(b)
%!@
>>>