ipython控制台_使用IPython控制台沿IPython笔记本

只需在一个单元格中执行%qtconsole,它将启动连接到同一内核的qtconsole。

当然你的内核需要是本地的。

你当然可以使用long方法:

In [1]: %connect_info

{

"stdin_port": 50845,

"ip": "127.0.0.1",

"control_port": 50846,

"hb_port": 50847,

"signature_scheme": "hmac-sha256",

"key": "c68e7f64-f764-4417-ba3c-613a5bf99095",

"shell_port": 50843,

"transport": "tcp",

"iopub_port": 50844

}

Paste the above JSON into a file, and connect with:

$> ipython --existing

or, if you are local, you can connect with just:

$> ipython --existing kernel-45781.json

or even just:

$> ipython --existing

if this is the most recent IPython session you have started.

然后

ipython qtconsole --existing kernel-45781.json

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值