if __name__ == '__main__': from ipython_kernel.zmq import kernelapp as app app.launch_new_instance()