title: Why is csv.Dictreader reading only the first row/column?
body: <p>I want to read a csv file into my Tkinter application and split the content of the file in different widgets. I am able to read and enter the text of the first column into the correct entry widget but it fails to continue. I receive a 'KeyError:' exception.</p>
  
  <p>My example code which is just an isolated block to see whether I can print the file content:</p>
  
  <pre><code>import csv
  
  with open("bible.csv", mode="r") as file:
      csv_reader = csv.DictReader(file)
      for row in csv_reader:
          x = row["title"]
          y = row["author"]
          z = row["year"]
  </code></pre>
  
  <p>The error message is:</p>
  
  <blockquote>
  <pre><code>Bible
  Traceback (most recent call last):
  File "C:/Users/", line 23, in &lt;module&gt;
  y = row['author']
  KeyError: 'author'
  </code></pre>
  </blockquote>
  
  <p>The CSV content is just this:</p>
  
  <pre><code>title, author, year, others, note
  Bible,Many,0,Religion,This is the bible.
  </code></pre>
  
  <p><strong>Can somebody please explain why it only takes the first 'row' and does not continue?</strong></p>
  
  <p>Thank you very much for your insides!</p>