I need to know if there is a way to access parent modules from submodules. If I import submodule: from subprocess import types I have types - is there some Python magic to get access to subprocess module from types? Something similar to this for classes ().__class__.__bases__[0].__subclasses__(). Continue reading...