結果 : how to create log file for python script