title: How do I store a functions output without re-running the function in Spyder
body: <p>Essentially I have 2 functions, the second takes in the output of the first as a parameter. Something like:</p>
  <pre><code>value1 = function1()
  value2 = function2(value1)
  </code></pre>
  <p>I want to avoid running the first since it takes a long time to run (5mins+). In jupyter notebook you can just comment out the first line and it will run no problem, but in Spyder it says value1 is not defined. Is there any way to do this in spyder?</p>