結果 : python write exception stack trace to file