[Twisted-Python] watch a directory (Win32)

Andrew Bennetts andrew-twisted at puzzling.org
Tue Mar 8 06:30:24 EST 2005

On Tue, Mar 08, 2005 at 10:27:04PM +1100, Andrew Bennetts wrote:
> On Tue, Mar 08, 2005 at 11:27:35AM +0100, Henning.Ramm at mediapro-gmbh.de wrote:
> [...]
> > 
> > I'd prefer a portable way (my script could also run on AIX or MacOS X),
> > but as far as I found, it's heavily system dependent (Win32:
> > win32file.FindFirstChangeNotification, BSD/OSX: kqueue?, Linux: dnotify?)
> I haven't tried using it with Twisted (yet), but something like the python
> bindings for gamin would probably be a good start.  It can use the new
> inotify stuff in Linux, or do simple polling.
>     http://www.gnome.org/~veillard/gamin/index.html

...although I suspect it might not work on win32 :/


More information about the Twisted-Python mailing list