Getting the Most Out of a Python Traceback

Getting the Most Out of a Python Traceback

English | MP4 | AVC 1920×1080 | AAC 48KHz 2ch | 0h 21m | 71 MB

Python prints a traceback when an exception is raised in your code. The traceback output can be a bit overwhelming if you’re seeing it for the first time or you don’t know what it’s telling you. But the Python traceback has a wealth of information that can help you diagnose and fix the reason for the exception being raised in your code. Understanding what information a Python traceback provides is vital to becoming a better Python programmer.

By the end of this course, you’ll be able to:

  • Make sense of the next traceback you see
  • Recognize some of the more common tracebacks
  • Log a traceback successfully while still handling the exception
Table of Contents

1 What-Is-a-Python-Traceback
2 How-Do-You-Read-a-Python-Traceback
3 What-Are-Some-Common-Tracebacks-in-Python
4 How-Do-You-Log-a-Traceback-
5 Conclusion