結果 : how to log the output of a python script