Newbie-Question: Oberserving an directory

F. GEIGER fgeiger at datec.at
Fri Jun 21 16:02:25 EDT 2002


GIven that you are on NT/2k, a Google group search showed up a thread, where
Darrell postet this link:

http://www.dorb.com/darrell/win32WorkSvr/makeThumbsDG.py

in response to Jeff's question on how to use
win32file.FindFirstChangeNotification().

Maybe, this is what you are looking for.

Cheers
Franz

P.S.: The thread's contents are:

Von:Jeff Kunce (kuncej at mail.conservation.state.mo.us)
Betrifft:Monitoring file changes in NT
Newsgroups:comp.lang.python
      View this article only
Datum:2000/01/18

I'd like my python program to know when
directories and files have changed on
an NT system.

Could anyone share an example of how to use
win32file.FindFirstChangeNotification()
and its relatives?

Thanks.

  --Jeff
            Message 2 in thread
      Von:Darrell (news at dorb.com)
      Betrifft:Re: Monitoring file changes in NT
      Newsgroups:comp.lang.python
            View this article only
      Datum:2000/01/18


http://www.dorb.com/darrell/win32WorkSvr/makeThumbsDG.py

--
--Darrell
"Jeff Kunce" <kuncej at mail.conservation.state.mo.us> wrote in message
news:3h2h4.362$B5.8315 at news.more.net...
> I'd like my python program to know when
> directories and files have changed on
> an NT system.
>
> Could anyone share an example of how to use
> win32file.FindFirstChangeNotification()
> and its relatives?
>
> Thanks.
>
>   --Jeff
>




"Marcus Klein" <marcus1 at marcus1.de> schrieb im Newsbeitrag
news:3d1352a7 at news.piro.net...
> 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 :-/
>
> Thx in advance, marcus
>
> --
> sick nature ?





More information about the Python-list mailing list