标签:encode sre enc javascrip rom code role int uri
from urllib import parse
jsRet = ‘roleO%2f‘
print(parse.unquote(jsRet))
print(parse.quote(jsRet))
输出:
roleO/
roleO%252f
Python 中parse.quote类似JavaScript encodeURI() 函数
标签:encode sre enc javascrip rom code role int uri
原文地址:https://www.cnblogs.com/shaosks/p/9634640.html