urllib.parse.quote_from_bytes(bytes, safe='/')
Like quote()
, but accepts a bytes
object rather than a str
, and does not perform string-to-bytes encoding.
Example: quote_from_bytes(b'a&\xef')
yields 'a%26%EF'
.
Designed by : w10schools
service@w10schools.com
Please login to continue.