title: python: inserting a variable value into a variable name
body: <p>I would like to insert the value of a variable into the name of another variable in python.  In a shell script this would be something like:  </p>
  
  <pre><code>for n in `more list`  
  do  
  var_$n = some_calculation  
  done
  </code></pre>
  
  <p>but I can't see how to do a similar thing in python.  Is there a way or should I be using an alternative approach?<br>
  thanks,<br>
  Andy</p>