結果 : python print exception to file