Ruby的监视者是否等效于Python? [英] Ruby's watchr equivalent in Python?

查看:101
本文介绍了Ruby的监视者是否等效于Python?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢 watchr 的概念:它监视文件系统并在发生更改时运行回调.是否有一个纯Python等效项?最好是pip可安装.

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.

推荐答案

您可能应该看一下看门狗:

You should probably look at watchdog:

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

这篇关于Ruby的监视者是否等效于Python?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆