You can use urllib.quote together with map:
import urllib
q = ['with space1', 'with space2']
qescaped = map(urllib.quote, q)
sth
2009-03-04 04:31:00
You can use urllib.quote together with map:
import urllib
q = ['with space1', 'with space2']
qescaped = map(urllib.quote, q)