[Twisted-Python] watch a directory (Win32)
Andrew Bennetts
andrew-twisted at puzzling.org
Tue Mar 8 04:27:04 MST 2005
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
-Andrew.
More information about the Twisted-Python
mailing list