When you execute cells in the Web UI, the browser sends the code of the 
cells to be executed to the notebook server. The server itself doesn't know 
about cells, it just gets code snippets for execution. Your alternative 
implementation of a console-based UI will have to work in a similar 
fashion: extract the cells from the notebook, send the actual code for 
execution to the server, re-insert the results of the execution into the 
notebook.

I guess Jupyter Console has logic for sending code snippets and printing 
results that you can re-use:
https://github.com/jupyter/jupyter_console

hope that helps,
  Roland

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/0380f2f0-4d87-4055-a834-90e9ff980e0c%40googlegroups.com.

Reply via email to