結果 : python catch stdout of function