Summary
In this chapter, we looked at how the PDB tool can be used to find faults in Python code and applications. We also looked at using the logging module to have Python code output a log file during execution and how this can make debugging the failures easier, as well as automated unit testing for portions of the application.
In the next chapter, we will look at the Qt GUI framework and how it can be used to create a graphical interface for a Python application.