title: Read data from csv into list of class objects - Python
body: <p>I'm having trouble figuring this out. Basically I have a .csv file that has 7 employees with their first and last names, employee ID, dept #, and job title. My goal is for <code>def readFile(employees)</code> to accept an empty List (called employees), open the file for reading, and load all the employees from the file into a List of employee objects (employees). I already have my class built as:</p>
  
  <pre><code>class Employee:
  def __init__(self, fname, lname, eid, dept, title):
      self.__firstName = fname
      self.__lastName = lname
      self.__employeeID = int(eid)
      self.__department = int(dept)
      self.__title = title
  </code></pre>
  
  <p>I have a couple other class methods, but basically I don't quite understand how to properly load the file into a list of objects.</p>