from ipykernel import kernelapp as app app.launch_new_instance()