title: Importing everything ( * ) dynamically from a module
body: <p>I have a Python module that I want to dynamically import given only a string of the module name. Normally I use <code>importlib</code> or <code>__import__</code> and this works quite well given that I know which objects I want to import from the module, but is there a way to do the equivalent of <code>import *</code> dynamically. Or is there a better approach? </p>
  
  <p>I know in general its bad practice to use <code>import *</code> but the modules I'm trying to import are automatically generated on the fly and I have no way of knowing the exact module which contains the class I'm addressing.</p>
  
  <p>Thanks.</p>