結果 : python write variable content to file