title: Changing value and importing - Doesn't save new value
body: <p>I'm using latest python version; I have a simple function in one file, then another file calls that function. Problem is the variable from function isn't printed.</p>
  
  <p><code>file1.py</code>:</p>
  
  <pre><code>var = "one"
  def first():
      global var
      if smt == True:
          var = "1"
      else:
          var = "W"
  </code></pre>
  
  <p><code>file2.py</code>:</p>
  
  <pre><code>from file1 import *
  first()
  print(var)
  </code></pre>
  
  <p>This is simplified version because I have more irrelevant code, but the problem is still the same, my variable doesn't change for some reason.</p>