I'd like to have a list of the names and files of imported modules form an imported module, like:
#!/usr/bin/python3
import importlib
module = importlib.import_module('someModule')
for mod in module.modules():
print(mod.name)
print(mod.file)