title: Converting CSV to HTML Table in Python
body: <p>I'm trying to take data from a .csv file and importing into a HTML table within python.</p>
  
  <p>This is the csv file <a href="https://www.mediafire.com/?mootyaa33bmijiq" rel="noreferrer">https://www.mediafire.com/?mootyaa33bmijiq</a></p>
  
  <p>Context:<br>
  The csv is populated with data from a football team [Age group, Round, Opposition, Team Score, Opposition Score, Location].  I need to be able to select a specific age group and only display those details in separate tables.  </p>
  
  <p>This is all I've got so far.... </p>
  
  <pre><code>infile = open("Crushers.csv","r")
  
  for line in infile:
      row = line.split(",")
      age = row[0]
      week = row [1]
      opp = row[2]
      ACscr = row[3]
      OPPscr = row[4]
      location = row[5]
  
  if age == 'U12':
     print(week, opp, ACscr, OPPscr, location)
  </code></pre>