結果 : write value to file python