I want to detect whether module has changed. Now, using inotify is simple, you just need to know the directory you want to get notifications from.
How do I retrieve
you can just import your module then hit its name and you'll get its full path
>>> import os >>> os >>>