Mike

Python 101: An Introduction to Python’s Debugger

Python comes with its own debugger module that is named pdb. This module provides an interactive source code debugger for your Python programs. You can set breakpoints, step through your code, inspect stack frames and more. We will look at the following aspects of the module: How to start the debugger Stepping through your code […]

Python 101: An Introduction to Python’s Debugger Read More »

Python 3.4 Released Today!

Python 3.4 released today (2014-03-17) and includes a lot of neat stuff. According to the Python Insider, these are the major changes / additions: PEP 428, a “pathlib” module providing object-oriented filesystem paths PEP 435, a standardized “enum” module PEP 436, a build enhancement that will help generate introspection information for builtins PEP 442, improved

Python 3.4 Released Today! Read More »

wxPython: Catching Exceptions from Anywhere

The wxPython Google Group was discussing different methods of catching exceptions in wxPython the other day. If you use wxPython a lot, you will soon realize that some exceptions are difficult to catch. The wxPython Wiki explains why. Anyway, the fellows on the list were recommending the use of sys.excepthook. So I took one of

wxPython: Catching Exceptions from Anywhere Read More »