I want to convert python str to URL syntax.
for instance
>>> u'νκΈ'.encode('utf-8') '\xed\x95\x9c\xea\xb8\x80' to '%ed%95%9c%ea%b8%80'
Thanks in advance.
>>> import urllib2 >>> urllib2.quote('νκΈ') '%ED%95%9C%EA%B8%80'