I'd like to use ipython within a Python application. Does anyone have (or can point to) a minimal example that:
- Starts a kernel and..
- Communicates with it, i.e. sends and receives messages / code fragments?
There is an example in the source code docs ipkernel_qt.py
, but this only shows how to start a kernel from within a script and how to modify the name space and does not show how to send code. I think I need to use a KernelManager, but is there a way to connect the kernel manager to a kernel without a configuration file?