How to compare u'string' and 'string'?
<p>I am trying to compare a key from a dictionary and a string.</p>

<pre><code>if k == key:
   #do whatever
</code></pre>

<p>The repr(k) is u'string' while the key string I give it is 'string'. How can I get it so u'string' will equal 'string'?</p>
