我有一个列表,其中包含带有转义字符的网址。这些字符是urllib2.urlopen在恢复html页面时设置的:http://www.sample1webpage.com/index.php?title=%E9%A6%96%E9%A1%B5&action=edithttp://www.sample1webpage.com/index.php?title=%E9%A6%96%E9%A1%B5&action=historyhttp://www.sample1webpage.com/index.php?title=%E9%A6%96%E9%A1%B5&variant=zh 有没有办法在python中将它们转换回未转义的形式?PS:URL以utf-8编码
添加回答
举报
0/150
提交
取消