Exemplo n.º 1
0
 def init_shell(self):
     IPythonConsoleApp.initialize(self)
     # relay sigint to kernel
     signal.signal(signal.SIGINT, self.handle_sigint)
     self.shell = ZMQTerminalInteractiveShell.instance(parent=self,
                     display_banner=False, profile_dir=self.profile_dir,
                     ipython_dir=self.ipython_dir,
                     manager=self.kernel_manager,
                     client=self.kernel_client,
     )
Exemplo n.º 2
0
 def init_shell(self):
     IPythonConsoleApp.initialize(self)
     # relay sigint to kernel
     signal.signal(signal.SIGINT, self.handle_sigint)
     self.shell = ZMQTerminalInteractiveShell.instance(parent=self,
                     display_banner=False, profile_dir=self.profile_dir,
                     ipython_dir=self.ipython_dir,
                     manager=self.kernel_manager,
                     client=self.kernel_client,
     )