結果 : how to log file in python