Ruby's watchr equivalent in Python?

不问归期 提交于 2019-12-08 16:27:24

问题


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.


回答1:


You should probably look at watchdog:

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




回答2:


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



来源:https://stackoverflow.com/questions/5816346/rubys-watchr-equivalent-in-python

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!