Multiple assignments under 'if' statement
<p>Why can't I make multiple assignments under an if statement in python?  Is there some syntax I am missing?</p>

<p>I want to do this:</p>

<pre><code>files = ["file1", "file2", "file3"]

print "\nThe following files are available: \n"

i = 0
for file in files:
    i = i + 1
    print i, file

choice = int(raw_input("\Enter a file number: "))

if choice ==1:
    file = np.genfromtxt(files[0], usecols = (1,2,3), dtype = (float), delimiter = '\t')
    time = np.genfromtxt(files[0], usecols = (0), dtype = (str), delimiter = '\t')

print time
</code></pre>

<p>Time is defined outside of my if statement, so it doesn't change as choice changes...what the heck?</p>
