title: Re-read an open file Python
body: <p>I have a script that reads a file and then completes tests based on that file however I am running into a problem because the file reloads after one hour and I cannot get the script to re-read the file after or at that point in time.</p>
  
  <p>So:</p>
  
  <ul>
  <li>GETS NEW FILE TO READ</li>
  <li>Reads file</li>
  <li>performs tests on file</li>
  <li>GET NEW FILE TO READ (with same name - but that can change if it is part of a solution)</li>
  <li>Reads new file</li>
  <li>perform same tests on new file</li>
  </ul>
  
  <p>Can anyone suggest a way to get Python to re-read the file?</p>