Search code examples
pythonpython-modulefile-monitoring

python file monitoring


I'm working on Windows. and I want to monitor of system file.(access, open, write, modify) What modules are best for what I need to do? Is it possible to use python?

Thank you.


Solution

  • If you want a cross-platform solution then I recommend you delegate to PyGObject or PyQt4. You'll need to write your program as an event loop, but I suspect that you may not be far from doing that if you haven't already.