How to show (python) code chunk in ltx-talk? – tex.stackexchange.com

Polly Nomial
I am trying to include some blocks of code in a ltx-talk slide. The code below uses listings as an example that works for me if I use Beamer, but now I get the errors shown below. How can I show some ...