Directory & File Monitoring
Thomas Heller
theller at python.net
Fri Jun 6 13:44:51 EDT 2003
stevesusenet at yahoo.com (Steve) writes:
> Hi;
>
> I would like to write a python script for windows 2000 that will log
> who/what touches a particular file in a particular directory.
>
> Is this possible with python alone or do I need to access some Windows
> api( and which one?)?
>
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.
Thomas
More information about the Python-list
mailing list