On Tue, Mar 8, 2011 at 09:29, Tim Golden <m...@timgolden.me.uk> wrote:
> 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 Thanks for the plug :) I should also note that watcher now supports Python 2 and 3.
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32