title: List of all imports in python 3
body: <p>How to find out list of all available imports in python 3 via program? I tried this at first, but couldn't understand what it returned</p>
  
  <pre><code>import sys
      sys.modules
  </code></pre>
  
  <p>I think this isn't the way, although this struck my mind first. I searched the web and found this <a href="http://effbot.org/librarybook/core-modules-index.htm" rel="nofollow">http://effbot.org/librarybook/core-modules-index.htm</a></p>
  
  <p>Can someone tell me whether this is correct or not?</p>