関連ワード:  python sys stdout write to file  
結果 : python write sys stdout to file