On 08/03/2011 15:15, pyt...@bdurham.com wrote:
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?

Brian Curtin's just written about this very subject:


http://blog.briancurtin.com/2011/02/18/the-five-year-project-net-filesystemwatcher-clone-for-python/

  http://pypi.python.org/pypi/watcher/

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to