title: Difference between "import X" and "from X import *"?
body: <p>In Python, I'm not really clear on the difference between the following two lines of code:</p>
  
  <pre><code>import X
  </code></pre>
  
  <p>or</p>
  
  <pre><code>from X import *
  </code></pre>
  
  <p>Don't they both just import everything from the module X? What's the difference?</p>