title: How to read a csv file in tail -f manner using python?
body: <p>I want to read the csv file in a manner similar to <code>tail -f</code> i.e. like reading an error log file. </p>
  
  <p>I can perform this operation in a text file with this code:</p>
  
  <pre><code> while 1:
        where = self.file.tell()
        line = self.file.readline()
        if not line:
          print "No line waiting, waiting for one second"
          time.sleep(1)
          self.file.seek(where)
        if (re.search('[a-zA-Z]', line) == False):
          continue
        else:
          response = self.naturalLanguageProcessing(line)
          if(response is not None):
            response["id"] = self.id
            self.id += 1
            response["tweet"] = line
            self.saveResults(response)
          else:
            continue
  </code></pre>
  
  <p>How do I perform the same task for a csv file? I have gone through a link which can give me last 8 rows but that is not what I require. The csv file will be getting updated simultaneously and I need to get the newly appended rows.</p>