title: While working with CSV file without pandas in python , what's the internal behavior of this program below?
body: <p><strong>I couldn't get the logic of how 'd' in the for loop works.Can someone explain in detail?</strong></p>
  
  <pre><code>import csv
  %precision 2
  with open('manual_flow_input_grade_8.csv') as csvfile:
  mfig =list(csv.DictReader(csvfile))
  
  for d in mfig:
      print(d['Code'])
  
  8.ag5.u.1
  8.ag5.u.2
  8.ag5.u.3
  
  #Here's the info about csv data :  
  print(mfig[0].keys())
  
  #odict_keys(['Code', 'Tag', 's=1', 's2&lt;0', 'M', 'Code_', 'Tag_', 's=1_', 's&lt;0_', 'PAR', 'CHI'])
  print(mfig[0].values())
  
  #odict_values(['8.ag5.u.1', 'AG5.1', 'OK', '7.ag4.ap.1', '', 'ag5', 'ag5', 'OK', 'ag4', 'ag4', 'ag7'])
  </code></pre>