##// END OF EJS Templates
Add message about how to stop the notebook.
Fernando Perez -
Show More
@@ -361,9 +361,11 b' class NotebookApp(BaseIPythonApplication):'
361 def start(self):
361 def start(self):
362 ip = self.ip if self.ip else '[all ip addresses on your system]'
362 ip = self.ip if self.ip else '[all ip addresses on your system]'
363 proto = 'https' if self.certfile else 'http'
363 proto = 'https' if self.certfile else 'http'
364 self.log.info("The IPython Notebook is running at: %s://%s:%i" % (proto,
364 info = self.log.info
365 ip,
365 info("The IPython Notebook is running at: %s://%s:%i" %
366 self.port))
366 (proto, ip, self.port) )
367 info("Use Control-C to stop this server and shut down all kernels.")
368
367 if self.open_browser:
369 if self.open_browser:
368 ip = self.ip or '127.0.0.1'
370 ip = self.ip or '127.0.0.1'
369 b = lambda : webbrowser.open("%s://%s:%i" % (proto, ip, self.port),
371 b = lambda : webbrowser.open("%s://%s:%i" % (proto, ip, self.port),
General Comments 0
You need to be logged in to leave comments. Login now