Reputation:
Is there a python command to change the kernel during an evaluation of a jupyter notebook's cell, something like:
In[1:] #on utilise le kernel python3
change_kernel('python3');
In[2:] #on utilise le kernel SageMath
change_kernel('SageMath');
In[3:] #on utilise le kernel Python2
change_kernel('Python2.7');
Upvotes: 2
Views: 2655