Post-Mortem Python Plotting

Next time you’re in your IPython console and you get an error somewhere deep in your stack, run %debug. It’s a post-mortem debugger, and it’ll drop you in an interpreter right where the error happened. You can inspect all the variables, go up and down the… Read more

Similar

Be Careful with Python’s New-Style String Format

This should have been obvious to me for a longer time, but until earlier today I did not really realize the severity of the issues caused by str.format on untrusted user input. It came up as a way to bypass the Jinja2 Sandbox in a way that would permit r...

Read more »