7 lines
212 B
Python
7 lines
212 B
Python
|
try:
|
||
|
from ipykernel.kernelapp import IPKernelApp
|
||
|
except ImportError:
|
||
|
from IPython.kernel.zmq.kernelapp import IPKernelApp
|
||
|
from .kernel import YAPKernel
|
||
|
IPKernelApp.launch_instance(kernel_class=YAPKernel)
|