title: Modifying a variable in a module imported using from ... import *
body: <p>Consider the following code:</p>
  
  <pre><code>#main.py
  From toolsmodule import *
  database = "foo"
  
  #toolsmodule
  database = "mydatabase"
  </code></pre>
  
  <p>As it seems, this creates one variable in each module with different content. How can I modify the variable inside toolsmodule from main? The following does not work:</p>
  
  <pre><code>toolsmodule.database = "foo"
  </code></pre>