結果 : write string to a file python