wait until change

Michael Geary Mike at DeleteThis.Geary.com
Fri Oct 17 19:16:52 EDT 2003


Thomas Heller wrote:
> Just for completeness, it should be mentioned that the win32 api
> functions FindFirstChangeNotification and FindNextChangeNotification
> could also be used.  They are wrapped in win32all, and probably could
> also be made to work with ctypes.  Platform dependend, sure, but maybe a
> much more lightweight approach than using wmi (and, for me at least,
> probably better understandable).

And to be *really* complete, Windows NT/2000/XP has the
ReadDirectoryChangesW function, which has some improvements over the
Find...ChangeNotification functions. Not available on Win95/98/Me, though.

-Mike






More information about the Python-list mailing list