Crash reporting in Python
Is there a crash reporting framework that can be used for pure Python Tkinter applications ? Ideally, it should work cross-platform. Practically speaking, this is more of 'exception reporting' since the Python interpreter itself hardly crashes. Here's a sample crash reporter: Rather than polluting your code with try..except everywhere, you should just implement your own except hook by setting sys.excepthook . Here is an example: import sys import traceback def install_excepthook(): def my_excepthook(exctype, value, tb): s = ''.join(traceback.format_exception(exctype, value, tb)) dialog =