結果 : how to encode a text file in python