python program to watch a file - example.

Wayne R wayne at tbnets.com
Sun Sep 8 01:47:12 EDT 2002


 
I am trying to write a python program that will run as a deamon and
watch a file for data to arrive and then wake up and perform duties on
that data.   I found ways to make a python program run as a deamon but I
am at a loss to find anything related to watching a file for data so
that it can then process the data.  I didn't really want to do a sleep
loop or something like, I am sure there is a better way.
 
Any ideas or links to more info?
 
Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20020908/9a42a1ff/attachment.html>


More information about the Python-list mailing list