I have a .txt file (type string) {\'A\': 0, \'B\': 2, \'C\':0, ...} which I would like to convert to a dictionary (to be able to save all elements containing 0s in another f