結果 : python write text variable to file