title: AttributeError: 'list' object has no attribute 'symmetric_difference' beginner error
body: <p>I am trying to compare two <code>csv</code> files and figure out the difference between them. They both should have same exact data but ordering can be different.</p>
  <p>Trying to compare <code>old.csv</code> with <code>new.csv</code> and see if any row is missing in <code>new.csv</code> or any new row is present in <code>new.csv</code>. Each row should exactly match in both the csv's.</p>
  <p>I tried with this  but it gives me error as <code>AttributeError: 'list' object has no attribute 'symmetric_difference'</code>. What is wrong I am doing here?</p>
  <pre><code>with open('old.csv', 'r') as t1, open('new.csv', 'r') as t2:
      fileone = t1.readlines()
      filetwo = t2.readlines()
  
  print(fileone.symmetric_difference(filetwo))
  print(filetwo.symmetric_difference(fileone))
  </code></pre>