Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connect terminal IPython to existing notebook kernel

Tags:

python

ipython

Running ipython --existing resulted in:

[TerminalIPythonApp] CRITICAL | Unrecognized flag: '--existing'

Is there any way to have a IPython notebook sharing kernel with a terminal IPython instance? I prefer working in terminal over QT console because I'd like to manage my workflow with tmux. Thanks.

like image 987
chenaren Avatar asked Mar 17 '14 05:03

chenaren


1 Answers

The command is:

ipython console --existing

ipython starts a single-process session, without zmq or a Kernel. ipython console starts the two-process version with the kernel code used by the qtconsole and notebook.

like image 82
minrk Avatar answered Sep 21 '22 17:09

minrk