1 from urllib.parse import quote 2 text = quote(text, 'utf-8')
1 from urllib.parse import unquote 2 text = unquote(text, 'utf-8')
待更新