I have a csv file containing info like this:
1087,c6d537e112156be1afbb8a5a85221ff4d95e2461f83f03425549ff42dee7a278
I also have a dictionary in python containing similar info :
{'danial': '277375b99e186c72ac38ac47b03199038342fe0389be8765476fa2be0c5b5649', 'elham': 'c6d537e112156be1afbb8a5a85221ff4d95e2461f83f03425549ff42dee7a278'}
how can I search values of dict in my csv file and print matching row in CSV to keys in dictionary in out put for example :
danial,1087
elham,1011