Hi,
I have a text file being written by another process on a server which I want to watch for changes. Each time a change occurs I'd like to read the new data and send it to client . Any suggestions will be valuable . Using Django,Python
Tazim.
Hi,
I have a text file being written by another process on a server which I want to watch for changes. Each time a change occurs I'd like to read the new data and send it to client . Any suggestions will be valuable . Using Django,Python
Tazim.
If you're using a recent Linux you should look into this:
http://trac.dbzteam.org/pyinotify
http://stackoverflow.com/questions/182197/how-do-i-watch-a-file-for-changes-using-python goes into details for win32