結果 : how to write python script output to file