Re: Monitoring a directory for changes

2005-09-20 Thread Martin v. Löwis
Florian Lindner wrote: > is there a python lib (preferably in the std lib) to monitor a directory for > changes (adding / deleting files) for Linux 2.6? I recommend to use the python-fam library: sf.net/projects/python-fam. On Debian, just install the python-fam package. Regards, Martin -- http:

Re: Monitoring a directory for changes

2005-09-20 Thread Reinhold Birkenfeld
Florian Lindner wrote: > Hello, > is there a python lib (preferably in the std lib) to monitor a directory for > changes (adding / deleting files) for Linux 2.6? There isn't, but if you don't want to use dnotify/inotify, it is trivial to implement: use a timer and check the listdir() return value.