python 接口传递字符串,特殊字符url编码

 

from urllib.parse import quote


aaa = "+xxxx"
quote(aaa)

  

posted @ 2024-03-21 15:56  人间春风意  阅读(36)  评论(0)    收藏  举报