Example #1
0
 def openIPythonNotebook(self, event=None):
     """Note that right now this is bad because it ceases all activity in
     the main wx loop and the app has to be quit. We need it to run from
     a separate process? The necessary depends (zmq and tornado) were
     included from v1.78 onwards in the standalone
     """
     import IPython.frontend.html.notebook.notebookapp as nb
     instance = nb.launch_new_instance()
Example #2
0
 def openIPythonNotebook(self, event=None):
     """Note that right now this is bad because it ceases all activity in
     the main wx loop and the app has to be quit. We need it to run from
     a separate process? The necessary depends (zmq and tornado) were
     included from v1.78 onwards in the standalone
     """
     import IPython.frontend.html.notebook.notebookapp as nb
     instance = nb.launch_new_instance()
Example #3
0
 def notebook(self):
     try:
         from IPython.frontend.html.notebook.notebookapp import launch_new_instance
         launch_new_instance()
     except ImportError:
         sys.exit('You must install ipython, tornado and pyzmq to run the notebook shell.')