Monitoring contents of files/directories?

dahpgjgamgan picture dahpgjgamgan · Feb 28, 2009 · Viewed 82.4k times · Source

I'm looking for a cross-platform file monitoring python package? I know it is possible to monitor files on windows using pywin32, and there are packages working on Linux/Unix but does anyone know about a cross-platform one?

Answer

GoraKhargosh picture GoraKhargosh · Nov 19, 2010

I'm working on an MIT-licensed library that helps Python programs monitor file system events as portably as possible. There are differences that I'm trying to iron out. Highly alpha version at the moment:

Check it out here: http://github.com/gorakhargosh/watchdog/

Patches and contributions are welcome.

Hope it helps. =) Cheers.