結果 : how to redirect stdout in python