##// END OF EJS Templates
add early shutdown detection, and public-ip message to ipcluster/ipengine...
add early shutdown detection, and public-ip message to ipcluster/ipengine When engines fail to connect, the error message will describe the most likely cause (not instructing the controller to listen on a public interface). An similar message is included in ipcluster, but due to restrictions, its trigger is purely time-based.

File last commit:

r4406:0251893c
r5205:b85092ac
Show More
nbexamples.py
29 lines | 435 B | text/x-python | PythonLexer
from ..nbbase import (
NotebookNode,
new_code_cell, new_text_cell, new_notebook
)
nb0 = new_notebook()
nb0.cells.append(new_text_cell(
text='Some NumPy Examples'
))
nb0.cells.append(new_code_cell(
code='import numpy',
prompt_number=1
))
nb0.cells.append(new_code_cell(
code='a = numpy.random.rand(100)',
prompt_number=2
))
nb0.cells.append(new_code_cell(
code='print a',
prompt_number=3
))