import urllib as ulb base = "http://www.test.co.jp/query/?" query = {"theme":u"Japanese".encode("utf-8")} base + ulb.urlencode(query)
Recommended Posts