結果 : write an array to file python