Python Dict to URL Params

>>> import urllib
>>> urllib.urlencode({'p': [1, 2, 3]}, doseq=True)
'p=1&p=2&p=3'
Felipebros