結果 : how to create a log file in python