pythonic approach to dynamic class variable names (ala PHP's $$var)
<p>The following code:</p>

<pre><code>class Log:

    BAT_STATS = ['AB', 'R', 'H', 'HR']

    def __init__(self, type):
  for cat in Log.BAT_STATS:
         self.cat = 0
</code></pre>

<p>I want the loop there to create a class property of each key in BAT_STATS, so I can go:</p>

<pre><code>log = Log()
print log.HR;
</code></pre>

<p>Similar to PHP with $this->$$foo = 'bar' where $foo would be 'HR'.</p>
