Should google before I commit. Urlencode lives in urllib.parse.