[python-win32] Detect new/changed file in a folder

python at bdurham.com python at bdurham.com
Tue Mar 8 16:15:13 CET 2011


I'm looking for advice on ways to have a script detect new or
changed files in a specific folder.

The easy way is to simply poll every second and to sleep between
polling cycles.

Is there a win32 technique that works from XP forward that might
be a better choice? And/or are there issues with a simple polling
technique that I should be aware of?

Thank you,
Malcolm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110308/d506d9b7/attachment.html>


More information about the python-win32 mailing list