[python-win32] win32file.ReadDirectoryChangesW in asynch mode?
Mark Hammond
skippy.hammond at gmail.com
Thu Feb 5 06:39:37 CET 2009
On 5/02/2009 4:00 PM, Eric Blade wrote:
> It appears that sometime in the last year, year and a half or so,
> someone made the necessary changes to win32file to get
> ReadDirectoryChangesW up and working in Asynch mode, which is
> something that I would find very nice to be able to use right now ..
> however, the docs are making my head swim.
>
> Anyone know of an example of this somewhere, or at least a link that
> actually explains it?
>
> Thanks much!
There is some "real" code at
http://bazaar.launchpad.net/~tortoisebzr-developers/tortoisebzr/trunk/annotate/head%3A/tbzrlib/watcher/win32watcher.py
- so although its not as clear as a "sample" or "demo" would be (eg, it
only watches paths for a fairly short period of time, etc), you should
be able to get the idea...
Cheers,
Mark
More information about the python-win32
mailing list