title: Python: os.environ KeyError after export
body: <p>Why python can't get evironment variable after export?
  How to fix this?</p>
  
  <pre><code>λ: export AUTOTEST=/home/anton/eltx/scripts/gitlab/
  ~
  λ: python
  Python 2.7.12 (default, Dec  4 2017, 14:50:18) 
  [GCC 5.4.0 20160609] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  &gt;&gt;&gt; import os
  &gt;&gt;&gt; os.environ['AUTOTEST']
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    File "/usr/lib/python2.7/UserDict.py", line 40, in __getitem__
      raise KeyError(key)
  KeyError: 'AUTOTEST'
  &gt;&gt;&gt; 
  &gt;&gt;&gt; os.environ.get('AUTOTEST', 'none_value')
  'none_value'
  &gt;&gt;&gt;
  </code></pre>