結果 : write log file in python