title: Environment variables set from python not visible in shell script
body: <p>I have a python script which sets environment variables. I am running this python script from a shell script and the expectation is to read the value of environment variables set by the python script.</p>
  <p>#Python script - x.py#</p>
  <pre><code>import os
  os.environ['FRUIT'] = 'APPLE'
  </code></pre>
  <p>#Shell script - x.sh#</p>
  <pre><code>python -c &quot;import x&quot;
  echo $FRUIT
  </code></pre>
  <p>But that does not seem to be working. Nothing gets printed by the shell script. Can any one please explain why it is so and how to fix this?</p>