結果 : python write contents to file