title: print the value of a variable in Python/Django?
body: <p>In PHP I'm used to being able to do <code>print $var</code> or <code>print_r($var)</code>.</p>
  
  <p>I can print variables in my views in python but they end up in my cmd window not on the page itself. This is fine for some things but windows' cmd window isn't exactly the most readable when it starts wrapping output and turning it into gibberish.</p>
  
  <p>I tried doing <code>{% print somevar %}</code> in the django template, but I get TemplateSyntaxError: Invalid block tag: 'print'</p>
  
  <p>So, for someone who's new to Python how do I easily see the value of a variable?</p>