title: How to pause a script when it ends on Windows?
body: <p>I am running command-line Python scripts from the Windows taskbar by having a shortcut pointing to the Python interpreter with the actual script as a parameter.</p>
  <p>After the script has been processed, the interpreter terminates and the output window is closed which makes it impossible to read script output.</p>
  <p>What is the most straightforward way to keep the interpreter window open until any key is pressed?</p>
  <p>In batch files, one can end the script with pause. The closest thing to this I found in python is <code>raw_input()</code> <em>which is sub-optimal</em> because it requires pressing the return key (instead of any key).</p>