How to convert text into URL syntax on Python?
<p>I want to convert python str to URL syntax.</p>

<p>For example</p>

<pre><code>&gt;&gt;&gt; u'한글'.encode('utf-8')
'\xed\x95\x9c\xea\xb8\x80' to '%ed%95%9c%ea%b8%80'
</code></pre>

<p>Thanks in advance.</p>
