asynchronous writing and reading of a file
        Posted  
        
            by tazim
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by tazim
        
        
        
        Published on 2010-06-17T04:35:50Z
        Indexed on 
            2010/06/17
            4:43 UTC
        
        
        Read the original article
        Hit count: 253
        
hi,
    I have two processes.
    1.) One processes is redirecting output of some unix 
        command to a file on server side.the data is always 
        appended to the file
        eg :
            find / > tmp.txt
    2.)Another process is opening and reading 
       the same file and storing it in a string and sending the     
       entire string to the client           
  Now, this things take simultaneously. I am using python. 
  Any suggestion as in what can be possible ways to implement this scenario . 
  Please explain with sample code . 
Thanks in advance .
Tazim.
© Stack Overflow or respective owner