user/jszakmeister: add a snippet to print the stack trace in python

This will print the current stack trace at the line being executed.
It's a nice debug tool when you need to know what the call chain is.