RosettaCodeData/Task/URL-encoding/Python/url-encoding.py
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

3 lines
56 B
Python

import urllib
s = 'http://foo/bar/'
s = urllib.quote(s)