Re:Rich Tables in the Terminal
by a_t48 on Sunday July 05, 2020 @04:44PM
(#23741794)
That traceback handler is awesome. I wonder if there's a way to hook all my python programs to use it.
[ Parent
| on HN ]
Re:Rich Tables in the Terminal
by chameleon_world on Sunday July 05, 2020 @04:53PM
(#23741872)
You can, the instructions are here: https://rich.readthedocs.io/en/latest/traceback.html
But it is noticeably slower than the default python handler
Slower in what way? Just on crash? I don't mind that. But I meant for programs I _don't_ typically write source for - if Python has a way to run code before every program start up it would do what I want.