Re: [python-win32] detect file modification event

2005-10-21 Thread Tim Golden
[Jim McCoy] > The only warning I would add here is that you should be aware of the fact that your watcher > thread will block waiting for a change to occur in the directory; you cannot cancel the > blocked ReadDirectoryChangesW call using the standard pywin32 bindings. If it causes a problem i

Re: [python-win32] detect file modification event

2005-10-20 Thread Jim McCoy
The only warning I would add here is that you should be aware of the fact that your watcher thread will block waiting for a change to occur in the directory; you cannot cancel the blocked ReadDirectoryChangesW call using the standard pywin32 bindings. We have put together some patches for ReadDirec

Re: [python-win32] detect file modification event

2005-10-20 Thread Jim Vickroy
Fantastic! That's it exactly. I was hoping to avoid polling and this shows me how. Thanks much. -- jv Tim Golden wrote: >[Jim Vickroy] > > > >>Sorry if this has been previously answered, but my search failed to >> >> >detect it. > > >>Could someone refer to information on how to det

Re: [python-win32] detect file modification event

2005-10-20 Thread Tim Golden
[Jim Vickroy] > Sorry if this has been previously answered, but my search failed to detect it. > Could someone refer to information on how to detect file modification (e.g., update) events in MS Windows? Is this the sort of thing you were after? http://timgolden.me.uk/python/win32_how_do_i/watch

[python-win32] detect file modification event

2005-10-20 Thread Jim Vickroy
Sorry if this has been previously answered, but my search failed to detect it. Could someone refer to information on how to detect file modification (e.g., update) events in MS Windows? Thanks, -- jv ___ Python-win32 mailing list Python-win32@python.