Define a long list of variables in python
<p>I have a long list of variables to define (~100). Define as follows:</p>

<pre><code>provider = node.xpath("//provider/text()")[0]
language = node.xpath("//language/text()")[0]
subtype = node.xpath("//subtype/text()")[0]
etc...
</code></pre>

<p>How would I define it more concisely/DRY, something like -</p>

<pre><code>COLUMN_VARIABLES = ['provider', 'language','subtype']

for variable in COLUMN_VARIABLES:
    variable = node.xpath("//%s/text()"%variable)[0] 
</code></pre>
