Trouble with delimiter
<p>I want to use a '.' as a delimiter, but I get an "IndexError: list index out of range" error with the code below. If I remove the delimiter portion, the code works as I want it to. Any idea why this? Many thanks in advance.</p>

<pre><code>import csv

mags = csv.reader(open("mags.csv","rU"), delimiter='.')

for row in mags:

     print [item.lower() for item in [row[index] for index in (1, 0)]]
</code></pre>
