title: Global var editing from another script in Python
body: <p>I'm trying to increment a python global var from another script, but it doesn't seem to be updating. Am I doing something wrong here?</p>
  
  <p>I run <code>func()</code> multiple times during the script execution and it never seems to update <code>globVal</code></p>
  
  <p>script 1:</p>
  
  <pre><code>def func():
      from script2 import globVal
      global globVal
      print "glob val is " + str(globVal)
      globVal = globVal + 1
  </code></pre>
  
  <p>script 2 (different file):</p>
  
  <pre><code>global globVal
  globVal = 1
  </code></pre>