urlencode - Convert a mapping object or a sequence of two-element tuples to a percent-encoded string.
urllib.urlencode( query [, doseq ] )
query - When a sequence of two-element tuples is used as the query argument, the first element of each tuple is a key and the second is a value.
doseq - If set to true, inh2idual key=value pairs separated by '&' are generated for each element of the value sequence for the key.
Returns a url encoded string
>>> import urllib
>>> params = urllib.urlencode( {'param': 'url encoder'} )
>>> print "http://example.com/?" + params
http://example.com/?param=url+encoder