結果 : write a line to a file python