LANGUAGE » PYTHON » PACKAGE

Traceback

python
import traceback

traceback.print_exc()
print(traceback.format_exc())