#urllib.unquote
#urllib.quote
#可以做URL CODE编码/解码
例如:
testUrlEncode = 'http://huati.weibo.cn/ht?k=%E7%A8%8B%E9%A2%96%E5%A9%95&from=rank'
print testUrlEncode
print urllib.unquote(testUrlEncode)
#urllib.unquote
#urllib.quote
#可以做URL CODE编码/解码
例如:
testUrlEncode = 'http://huati.weibo.cn/ht?k=%E7%A8%8B%E9%A2%96%E5%A9%95&from=rank'
print testUrlEncode
print urllib.unquote(testUrlEncode)