how 1 take string , encode special characters html?
for example, if have "test@test" how encode becomes "test%40test"
is there easy way of doing instead of using replace manually list every 1 want replace?
try urlencode
function. documentation here.
https://docs.python.org/2/library/urllib.html#urllib.urlencode
Comments
Post a Comment