title: Confirming the difference between import * and from xxx import *
body: <p>I was surprised to find out that </p>
  
  <pre><code>import foo
  </code></pre>
  
  <p>and </p>
  
  <pre><code>from foo import *
  </code></pre>
  
  <p>had different effects on global members.  I wanted to confirm that my experiments are the correct behavior. </p>
  
  <p>In the first example, changing a member in module foo will reflect in all code that imports foo.  However, changing that member in the later case only seems to affect the file into which it was imported.  In other words, using the later approach will give each importing file its own copy of the members from foo.  </p>
  
  <p>the behavior i want is to have access to foo.x from all files, be able to change it from all files, and have that change reflected in all files ( a true global if you will).</p>