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

后端 未结 5 1580
遥遥无期
遥遥无期 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:04

    Kind of a jenky method but I can often quit a process without exiting ipython by typing something like: ']='. It creates a syntax error, terminating the process and, thereby, returning you to the ipython shell.

提交回复
热议问题