title: Delete a row once it is used
body: <p>I have a CSV with 500k rows. Currently I only need to use one value from the file and I am able to get that. What I would like to do is once the value is used to delete the row, is this possible?</p>
  
  <p>Here is my current code:</p>
  
  <pre><code>import csv
  import os
  
  def getvin():
      linenumber = 1
      with open(os.path.join(os.path.dirname(__file__), 'ITRACK6VIN.csv'), 'rb') as csvfile:
          vinreader = csv.reader(csvfile)
          myvins = list(vinreader)
          text = myvins[linenumber][0]
          return text
  
  print getvin()
  </code></pre>