title: Changes done with file i/o are not visible
body: <p>I have a python script that opens a file and writes bunch of stuff then closes it. I run this python file by connecting to ssh. On the other side I have another ssh terminal connected to the same machine and I want to monitor the changes/writes to the file by the running script. However, when I do cat "file_name" or something like that the file seems to be empty. Only after the script terminates, I see the stuff. </p>
  
  <p>First of all is this something related to atomicity properties of transactions ? </p>
  
  <p>Second, is there anyway to achieve monitoring my file ?</p>