I would like a command to end a python script "early" without completing the reset of the script but leave the IDLE shell open. I've tried several of the more common sense commands (kill exit sys.exit etc...) but they all close the interactive shell too (after a dialog box confirmation which I also don't want.
I want this command to skip the rest of the script and exit to the IDLE interactive shell as if the rest of the lines in the script had been commented out.
I want this command to skip the rest of the script and exit to the IDLE interactive shell as if the rest of the lines in the script had been commented out.
Comment