Urllib3 Urlencode. urlencode() function to urlencode a querystring in Python. urle