title: Pausing the Python console
body: <p>I am running some Python code in the console, inside a very long <code>for</code> loop. I would like to pause the execution of the script, and then be able to resume where I left. Is it possible to pause the Python console?</p>
  
  <p>Note: I don't want to use <code>time.sleep</code>; I want to be able to externally pause the console in the middle of a loop.</p>