When exceptions go unhandled, Python prints a traceback. Tracebacks are read from the bottom upward*. The last line describes *what happened and lines above describe where it happened.
Read an article version of this video at https://pym.dev/reading-tracebacks-in...
Find more Python screencasts at https://pym.dev/screencasts/
00:00 Traceback (most recent call last)?
00:25 Read the last line in a traceback first
01:17 The lines in a traceback represent frames in the "call stack"
02:11 Reading up the call stack to fix the bug
02:58 Read your tracebacks from the bottom upward
#python #exception #exceptions
Auf dieser Seite können Sie das Online-Video Traceback (most recent call last): Python's tracebacks explained mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Python Morsels 03 November 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 9,079 Mal angesehen und es wurde von 51 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!