Hello I fill two dictionaries with the same number of keys, and then need to compare the value for each key, eg.
#Pour chaque APE, comparaison societe.ape.nombre et verif.ape.nombre import apsw #============ dic1={} [...] rows=list(cursor.execute(sql)) for id in rows: dic1[id[0]] = id[1] #============ dic2={} [...] rows=list(cursor.execute(sql)) for id in rows: dic2[id[0]] = id[1] #============ #Here, compare each key/value to find values that differ for i in dic1.items(): [...] What would be a good way to do this in Python? Thank you. -- http://mail.python.org/mailman/listinfo/python-list