Inotify functionality is available from the Linux kernel and allows you to register one or more directories for watching, and to simply block and wait for notification events. This is obviously far more efficient than polling one or more directories to determine if anything has changed. not pyinotify.

This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/vladius/notpyinotify/