When I get a runtime exception from the standard library, it\'s almost always a problem in my code and not in the library code. Is there a way to truncate the exception sta
Put an unqualified try...except at the top of your code (ie: in your "main") or set sys.excepthook. You can then format the stack trace however you'd like.