从IPython内核中分离而不终止它 [英] Detach from IPython kernel without terminating it

查看:156
本文介绍了从IPython内核中分离而不终止它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以告诉我如何在不终止的情况下从IPython内核中分离出来吗?

Can someone please tell me how I can detach from an IPython kernel without terminating it?

我在 quit()的文档中看到有一个参数 keep_kernel ,但不幸的是退出(keep_kernel = True) won'工作。

I see in the documentation of quit() that there is a parameter keep_kernel, but unfortunately quit(keep_kernel=True) won't work.

推荐答案

如果您通过IPython控制台客户端连接到内核并且在类Unix操作系统上,那么你可以使用Ctrl-\

If you are connected to the kernel via the IPython console client and are on a Unix-like OS, you can detach using Ctrl-\

这篇关于从IPython内核中分离而不终止它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆