title: Get change of variable environment from script python
body: <p>I have a python script, this run a set_env.sh file.
  Later, I can get this new variable environment changed into set_env.sh
  Is possible?</p>
  
  <p>set_env.sh</p>
  
  <pre><code>var1="value1" var2="value2" var3="value3"
  </code></pre>
  
  <p>get_env.py</p>
  
  <pre><code>import os
  os.system("set_env.sh")
  print os.environ['var1']
  </code></pre>
  
  <p>Result: KeyError: 'var1'</p>
  
  <p>I know that I can use os.environ['var1'] = 'value' (or set var env) into python file.
  But I have access to this environment info only from shell file.</p>
  
  <p>Can you help me?</p>