Can I stop execution of current module in ipython without leaving ipython

后端 未结 5 1660
遥遥无期
遥遥无期 2021-01-11 10:00

I\'d like to break out of the currently running program and be dropped back to the shell (without having to restart ipython)

5条回答
  •  误落风尘
    2021-01-11 10:26

    Control-C works in the normal interactive Python shell, it should work in ipy also (except the program is catching the keyboardInterrupt exception)

提交回复
热议问题