$ pip install pyfanotify
$ git clone https://github.com/baskiton/pyfanotify.git $ cd pyfanotify $ python setup.py install