python indentation
<p>I am trying to make this script work but it's... giving me indentation errors</p>

<pre><code>#!/usr/bin/env python
import io

myfile = open('stats.txt', 'r')
dan = myfile.readline()
print dan
print "Your name: " + dan.split('|')[0]
try:
    myfile.write('blah')
finally:
        myfile.close()
except IOError:
</code></pre>

<p>Help?</p>
