>>> string = "全文搜索" >>> parse.quote(string) ‘%E5%85%A8%E6%96%87%E6%90%9C%E7%B4%A2‘
Python标准库urllib中parse.quote()
原文:https://www.cnblogs.com/ccli555/p/14719456.html