how to quit a script without killing python console?

6,357 views
Skip to first unread message

Bo Qiang

unread,
Feb 16, 2016, 10:42:14 AM2/16/16
to WinPython
Hi,

I would like to pro grammatically quit a running script. I have tried quit(), exit(), sys.exit() but all of them also kill the current python console. 

Is there a way to stop running without killing python console?

Thanks

Bo

stonebig

unread,
Feb 16, 2016, 11:43:42 AM2/16/16
to WinPython
Reply all
Reply to author
Forward
0 new messages