Newbie-Question: Oberserving an directory

Lee Harr missive at frontiernet.net
Fri Jun 21 19:15:05 EDT 2002


In article <3d1352a7 at news.piro.net>, Marcus Klein wrote:
> Hi there,
> 
> I want to observe an directory to check if a new file has been put in, if 
> that happens I want to start an event.
> 
> Does anyone have a good idea how to start, I've tried it with signal, but 
> either I am too stupid or it is the complete wrong way :-/
> 

You do not say which OS you are using. If FreeBSD, you might look
at PyKQueue.

The first hit from google with pykqueue will take you there.




More information about the Python-list mailing list