RosettaCodeData/Task/URL-encoding/Python/url-encoding.py

4 lines
56 B
Python
Raw Normal View History

2023-07-01 11:58:00 -04:00
import urllib
s = 'http://foo/bar/'
s = urllib.quote(s)