title: How can i read a text file again and again in every 1 sec?
body: <p>I want to read a text file as my input. But that text file will change again and again. So i need to read that same file again and again. How can i do that? </p>
  
  <p>I know how to read a text file in python.</p>
  
  <p>file=open('input.txt','r').read()</p>