inotify

How to retrieve a module's path?

How to retrieve a module's path? Question: 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 a module’s path in python? Asked By: Cheery || Source Answers: This was trivial. Each module has a …

Total answers: 24