monitoring a directory

Tim Golden tim.golden at viacom-outdoor.co.uk
Fri Mar 26 03:50:21 EST 2004


>Now how do I do this for UNIX?
>
>I always did the 1 second looping thing and felt somewhat ashamed that
>I couldn't think of anything better... It seems like there should be
>some sort of blocking system call that will return when a directory or
>file changes -- something like "select".
>
>Yours,
>Noah

Personally, I'm ignorant, but this guy seems to know what
he's talking about:

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/217829

TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




More information about the Python-list mailing list