import urllib
encodedUrl='http%3A%2F%2Fwww.baidu.com%2Fcache%2Fuser%2Fhtml%2Fv3Jump.html' #登录百度首页抓取到的一条Post数据为编码后的URL
decodedUrl=urllib.unquote(encodedUrl) #URL解码实现:urllib.unquote()
print encodedUrl
print decodedUrl