結果 : save all console output to file python