結果 : write variable to text file python