Getting the file system path of a python module by module name is easy if the module exists. For example like this:
importlib.machinery.PathFinder.find_module('my.module').path
But when the module does not exist, how can I still get the theoretical path that would be used to check whether the module exists?
Background: I want to watch the file system to be notified when a module (specified by module name like in an import statement) comes into existence.