Print the first two rows of a csv file to a standard output
<p>I would like to print (stdout) the first two lines of a csv file:</p>

<pre><code>#!/usr/bin/env python
import csv
afile = open('&lt;directory&gt;/*.csv', 'r+')
csvReader1 = csv.reader(afile)
for row in csvReader1:
    print row[0]
    print row[1]
</code></pre>

<p>however, my output using this code print the first two columns.</p>

<p>Any suggestions?</p>
