Is there a command line switch to carry out the script specified without terminating the process at the end?
Windows' cmd.exe for example has the /K switch.
One option is to add code in your script to drop into an interactive prompt. See this answer.
import code
code.interact(local=locals())
No, it doesn't have such an options. See the Python commandline options documentation.
Depending on what you want to do, you can use a shortcut, or write a wrapper module and call the script you want to run through it with the -m
option.