PyScripter - Cannot Shut Down with KeyboardInterrupt

I write many small applications where I use

try:
   print "always does this until I Ctrl+C"


Except KeyboardInterrupt:
   print "finish program"

I just started moving away from using IDLE and downloaded PyScripter. However, CTRL + C no longer works. Can I still send using the built-in interpreter?

+3
source share
2 answers

In PyScripter, if you just want to terminate the running program, you can always reinitialize the remote engine:

  • Application Launch Menu> Python Engine> Reinitialize Python Engine or
  • Context Menu Interpreter> Python Engine> Reinitialize Python Engine or
  • CTRL-F2 Keyboard Shortcut

Source by Psyscripter

+5
source

, , .

PyScripter google , , . , . , .

, - ( : p)?

0

Source: https://habr.com/ru/post/1732400/


All Articles