I am running commandline python scripts from the Windows taskbar by having a shortcut pointing to the python interpreter with the actual script as parameter.
After the script has been processed, the interpreter terminates and the output window is closed which makes it impossible to read script output.
What is the most straightforward way to keep the interpreter window open until any key is pressed?
In batch files, one can end the script with pause. The closest thing to this I found in python is raw_input() which is suboptimal because it requires pressing the return key (instead of any key).
Any ideas?