Problem with dictionary key in Python
        Posted  
        
            by Hossein
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Hossein
        
        
        
        Published on 2010-05-16T22:38:46Z
        Indexed on 
            2010/05/16
            22:40 UTC
        
        
        Read the original article
        Hit count: 314
        
python
Hi all, For some project I have to make a dictionary in which the keys are urls,among which I have this url:
http://www.microsoft.com/isapi/redir.dll prd=windows&sbp=mediaplayer&ar=Media&sba=Guide&pver=6.2
the url is too long to fit in here I guess in one single line. there is a space between .dll and prd. 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
© Stack Overflow or respective owner