Problem with dictionary key in Python
<p>For some project I have to make a dictionary in which the keys are urls,among which I have this url:</p>

<p><a href="http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=Media&amp;sba=Guide&amp;pver=6.2" rel="nofollow">http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=Media&amp;sba=Guide&amp;pver=6.2</a></p>

<p>the url is too long to fit in here I guess in one single line. 
I can build a dictionary without any errors this url is also a key. but for some reason when I want to extract the values associated to this key(url). I cannot, I get and error "error key:...."
Does someone know what is wrong with this url? Are dictionary keys sensitive to some stuff?
thanks</p>

<p>below is the code:</p>

<pre><code>def initialize_sumWTP_table(cursor):
cursor.execute( ''' SELECT url,tagsCount
                     FROM sumWTP''')
rows = cursor.fetchall ()
for url,tagsCount in rows:
    sumWTP[url] = tagsCount
</code></pre>
