Directory & File Monitoring

Tim Golden tim.golden at viacom-outdoor.co.uk
Mon Jun 9 04:04:25 EDT 2003


stevesusenet at yahoo.com:
> I would like to write a python script for windows 2000 that will log
> who/what touches a particular file in a particular directory.

Thomas Hellet:
> The win32all extensions have Find[First|Next]ChangeNotification
> functions which allow to do this. They are (why?) both in the win32api
> and the win32file module.

You might want to look at my (admittedly naive) use of this:

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

Tim Golden




More information about the Python-list mailing list