Read CSV items with column name : <p>When reading a CSV, instead of skipping first line (header), and reading row items by number:</p>

<pre><code>with open('info.csv') as f:
    reader = csv.reader(f, delimiter=';')
    next(reader, None)
    for row in reader:
        name = row[0]
        blah = row[1]
</code></pre>

<p>is there a built-in way to access row items by making use of header name? Something like:</p>

<pre><code>with open('info.csv') as f:
    reader = csv.reader(f, delimiter=';', useheader=True)
    for row in reader:
        name = row['name']
        blah = row['blah']
</code></pre>

<p>where <code>info.csv</code> has a header line:</p>

<blockquote>
  <p>name;blah<br>
  John;Hello2<br>
  Mike;Hello2  </p>
</blockquote>
