結果 : print line to file python