Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
High-level interfaces to the Linux inotify subsystem.

The inotify subsystem provides an efficient mechanism for file status
monitoring and change notification.

The watcher class hides the low-level details of the inotify
interface, and provides a Pythonic wrapper around it.  It generates
events that provide somewhat more information than raw inotify makes
available.
(more...)

src/m/e/mercurial-2.9.1/hgext/inotify/linuxserver.py   Mercurial(Download)
try:
    import linux as inotify
    from linux import watcher
except ImportError:
    raise