How to send a code from a terminal or another script to submit and execute in the existing jupyter kernel

17 views
Skip to first unread message

Sniper Champ

unread,
Mar 27, 2020, 3:32:13 PM3/27/20
to Project Jupyter
Hi Folks,

I am looking for a way to programmatically access the existing Jupyter kernel and submit a code to run. I will be accessing it from within the local system. I am looking for something similar to -

Jupyter console --existing <Kernal_runtime>  but it a more programmatic way. I have explored few Jupyter_client API, but I am not able to get it to work. I believe this will be a simple request message submission to the port the kernel is listening to. Could you please share me the right set of API to achieve this.

Thanks in Advance
Reply all
Reply to author
Forward
0 new messages