I am a college student working on a project to create a Python playground website where users can write and run Python code. I am using the Ace cod...
For further actions, you may consider blocking this person and/or reporting abuse
You can leverage a running IPython kernel and connect your frontend to it
Here is my
client.pyfile which I am going to use to connect with a kernelNow I am confused about whether
KernelManager(kernel_id='9912')is connecting to my configured kernel or create one on its own.Here is my complete process -
Step 1
Created a
k_conf.jsonfile to configure kernelThen I used the command
ipython kernel k_conf.jsonOutput:
TO check the output is basically generated from the kernel with
k_conf.jsonconfiguration or not I need the log of created kernel.I think it is creating a new kernel, as it created a new file in my
tmp/directory,kernel-9912.jsonI can simply run the ipython kernel with the help of
ipython kerneland Now I wanted to connect to that kernel and I believejupyter_clientwould be beneficial in this case but I am unable to connect to the kernel.