import urllib. >>># urllib.quote斜杠/不编码;safe是指定某字符不urlencode,默认是/;该方法会将空格转换为%20. >>> urllib.quote('1/2&3 ', safe='/').
確定! 回上一頁