>>> urllib.unquote('%E4%B8%BD%E6%B1%9F')

 

>>> data
'\xe4\xb8\xbd\xe6\xb1\x9f'
>>> urllib.quote(data)

相关文章: