Python, print names and values of all bound variables
<p>Is there a way to have Python print the names and values of all bound variables?</p>

<p>(without redesigning the program to store them all in a single list)</p>
