結果 : how to encode a string in python