Monitoring filesystems events with inotify on Linux.
Python C Other
Clone or download
seb-m Merge pull request #102 from blueyed/sync-versions-for-python2-3
Sync whitespace / comments between Python 2 and 3 versions
Latest commit 0f3f895 Jun 4, 2015



  • Linux ≥ 2.6.13
  • Python ≥ 2.4 (including Python 3.x)


Get the current stable version from PyPI and install it with pip

# To install pip follow
$ sudo pip install pyinotify

Or install Pyinotify directly from source

# Choose your Python interpreter: either python, python2.7, python3.2,..
# Replacing XXX accordingly, type:
$ sudo pythonXXX install

Watch a directory

Install pyinotify and run this command from a shell:

$ python -m pyinotify -v /my-dir-to-watch