Python 转换为 URL 编码格式

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

猜你喜欢

转载自www.cnblogs.com/whx2008/p/12633661.html
今日推荐