root / loop.py

Revision ca5ddc5f5eea62c76b6be75a1fbdedf663dbcfd0, 153 bytes (checked in by Sebastien Martini <ookoi@…>, 5 months ago)

Flag example files as 'Example'.

  • Property mode set to 100644
Line 
1# Example
2#
3import pyinotify
4
5wm = pyinotify.WatchManager()
6notifier = pyinotify.Notifier(wm)
7wm.add_watch('/tmp', pyinotify.ALL_EVENTS)
8notifier.loop()
Note: See TracBrowser for help on using the browser.