Hi all, For some project I have to make a dictionary in which the keys are urls,among which I have this url:
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
below is the code:
def initialize_sumWTP_table(cursor):
cursor.execute( ''' SELECT url,tagsCount
FROM sumWTP''')
rows = cursor.fetchall ()
for url,tagsCount in rows:
sumWTP[url] = tagsCount