結果 : write dictionary to a text file python