Possible Duplicate:
How do I watch a file for changes using Python?
How can a long-running python script register to Windows so as to be notified of modifications (files and folders creation/modification/deletion) in a file-system subtree?
Possible Duplicate:
How do I watch a file for changes using Python?
How can a long-running python script register to Windows so as to be notified of modifications (files and folders creation/modification/deletion) in a file-system subtree?