結果 : how to create a log file for python script