Catching an exception that would print like this:
Traceback (most recent call last): File "c:/tmp.py", line 1, in 4 / 0 ZeroDivisionError: integer division or modulo by zero
I want to format it into:
ZeroDivisonError, tmp.py, 1
← Назад к списку