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

tbUoky / 2024-03-21 / 原文

 

from urllib.parse import quote


aaa = "+xxxx"
quote(aaa)