[python-win32] win32file.ReadDirectoryChangesW in asynch mode?

Eric Blade blade.eric at gmail.com
Thu Feb 5 06:58:45 CET 2009


Thanks, Mark.  That's a lot more complex than what I need to
implement, and it'll take some time to digest, but even so, it's way
better than the docs that look like someone updated them a bit at a
time.



On Thu, Feb 5, 2009 at 12:39 AM, Mark Hammond <skippy.hammond at gmail.com> wrote:
> 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
>



-- 
Cheers,
 - Eric


More information about the python-win32 mailing list