title: Base class variable does not store value which is set by Derived class
body: <p>I am new to python.
  Base class/python file(Base.py).</p>
  
  <pre><code>SESSION_ID = ""
  
  def m1():
      print "SESSION_ID in base: ",SESSION_ID
  </code></pre>
  
  <p>Derived class(Derived.py)</p>
  
  <pre><code>from Base import *
  
  class Derived():
      def m2(self):
          global SESSION_ID
          SESSION_ID = 10
          print "SESSION_ID in derived: ", SESSION_ID
  
  def main():
      c2 = Derived()
      c2.m2()
      m1()
  
  
  if __name__ == "__main__":
      main()
  </code></pre>
  
  <p>When I execute Derived.py file below is the output:</p>
  
  <pre><code>SESSION_ID in derived:  10
  SESSION_ID in base:  
  </code></pre>
  
  <p>I want the value which is set in m2() to be reflected in m1(). So the expected output is:</p>
  
  <pre><code>SESSION_ID in derived:  10
  SESSION_ID in base:  10
  </code></pre>
  
  <p>Can you please help?</p>