Traceback (most recent call last): Python's tracebacks explained

Publié le: 03 novembre 2022
sur la chaîne: Python Morsels
9,079
51

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Traceback (most recent call last): Python's tracebacks explained durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python Morsels 03 novembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,079 fois et il a aimé 51 téléspectateurs. Bon visionnage!