str.uriencode(s) escapes the string sfor use as a URI component. This is broadly equal to encodeURIComponent in the browserarrow-up-right.
str.uriencode(s)
s
a string which is equivalent to s when decoded as a URI component.
Last updated 10 months ago
Was this helpful?