Python 101 – Debugging Your Code with pdb (Video)

Learn how to debug your Python programs using Python’s built-in debugger, pdb with Mike Driscoll In this tutorial, you will learn the following: Starting pdb in the REPL Starting pdb on the Command Line Stepping Through Code Adding Breakpoints in pdb Creating a Breakpoint with set_trace() Using the built-in breakpoint() Function – Getting Help This …

Python 101 – Debugging Your Code with pdb (Video) Read More »

PyChecker: Python Code Analysis

PyChecker is a cool tool for checking Python scripts for bugs. It works with Python 2.0 – 2.7. In this article, we will write some crappy code to see what PyChecker can pick up on. Then we’ll improve the code according to what we find until the code checks out. According to PyChecker’s website, it …

PyChecker: Python Code Analysis Read More »