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