Ruby's watchr equivalent in Python?

843 Views Asked by At

I like the concept of watchr: it monitor the file system and run a callback when something changes. Is there a pure Python equivalent? Preferably pip installable.

2

There are 2 best solutions below

1
John Montgomery On BEST ANSWER

You should probably look at watchdog:

http://packages.python.org/watchdog/

0
Eli Bendersky On

For Windows, there's watcher, that is probably close to what you need although I'm not sure it provides 100% equivalent information.