In this short training we will show you how to use the Python debugger (pdb) to inspect an output from the Github API (as called by the requests module).
The main lesson here is that a debugger is not only for solving bugs, you can and should use it anytime you want to inspect objects.
It gives you the unique opportunity to look at code in a paused state (a bit like calling a time-out in a basketball game).
In this case it prevents you from having to call the Github API over and over again to get it right which saves you a lot of time.
Start using this technique in your work and become a faster developer.
Sur cette page du site, vous pouvez voir la vidéo en ligne Using pdb to Inspect Python Objects durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Pybites 20 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,707 fois et il a aimé 55 téléspectateurs. Bon visionnage!