摘要:
转:编码:urllib.quote(string[, safe]),除了三个符号“_.-”外,将所有符号编码,后面的参数safe是不编码的字符, 使用的时候如果不设置的话,会将斜杠,冒号,等号,问号都给编码了。 如下: >>> import urllib >>> print urllib.quote("http://neeao.com/index.php?id=1") http%3A//n... 阅读全文
posted @ 2017-08-23 19:41
TMatrix52
阅读(598)
评论(0)
推荐(0)
浙公网安备 33010602011771号