title: Can I edit a variable in memory used by a python shell, in another python shell?
body: <p>Let's say I open 2 terminals, terminal1 and terminal2.</p>
  
  <p>In terminal1 I type:</p>
  
  <pre><code>&gt;&gt;&gt; myvariable = "yes"
  </code></pre>
  
  <p>In terminal2 I type:</p>
  
  <pre><code>&gt;&gt;&gt; function_to_edit_memory(myvariable, "no")
  </code></pre>
  
  <p>And the change is reflected in terminal1?
  Is this possible at all in Python?</p>