結果 : append print to file python