title: How to programmatically do: " from lib import * " in python
body: <p>i'm searching how to do </p>
  
  <pre><code>from myLib import *
  </code></pre>
  
  <p>inside my python code in order to do a import loop</p>
  
  <p><code>__import__()</code> method does not seems to provide the <code>*</code> feature, as i have to specify every content i want to import.</p>
  
  <p>Is there a way to do the <code>*</code> ?</p>
  
  <p>Thank's a lot for your help</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>to clarify, the goal is to import a bunch of classes, that stand inside a bunch of modules in a package to access them directly through there classes name, not like myPacakge.myModule.myClass(), nor myModule.myClass() but just myClass()</p>
  
  <p>imagine you have:</p>
  
  <pre><code>myScript.py
  myPackage
      \__init__.py
      \myModule_0.py
      \myModule_1.py
      \myModule_2.py
      \myModule_3.py
      \myModule_4.py
  </code></pre>
  
  <p>each myModule contains a bunch of classes and you are editing myScript.py, you want to have access to all classes in each myModule_X.py like:</p>
  
  <pre><code>myClass()
  myOtherClass()
  myOtherOtherClass()
  </code></pre>
  
  <p>etc... not like myModule_X.myClass() nor myPackage.myModyle_X.myClass()</p>