Using pdb to Inspect Python Objects

Veröffentlicht am: 20 August 2021
auf dem Kanal: Pybites
1,707
55

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.


Auf dieser Seite können Sie das Online-Video Using pdb to Inspect Python Objects mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Pybites 20 August 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,707 Mal angesehen und es wurde von 55 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!