我有一個列表,其中包含帶有轉義字符的網(wǎng)址。這些字符是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
提交
取消