Python converted to a URL-encoded format

import urllib.parse
print(urllib.parse.quote("待转换的内容"))

Guess you like

Origin www.cnblogs.com/whx2008/p/12633661.html