How to get the string literal of a variable
<p>I have a bunch of variables, and I need to get the name of the variable being set for validation. For example:</p>

<pre><code>studio = 'Warner Brothers'
movie = ''
validation = [studio, movie]

validation_errors = []
for item in validation:
    if not item:
        validation_errors.append(name of variable)
</code></pre>

<p>In the above case, I'd want the result to be: </p>

<pre><code>validation_errors = ['movie']
</code></pre>

<p>Is there a simple way to do this without building a dict?</p>
