##// END OF EJS Templates
custom keyboard interrupt handling in ask_yes_no...
custom keyboard interrupt handling in ask_yes_no Sometimes, Ctrl-C just makes sense as an answer, and re-asking the question is just frustrating. This changes makes it possible to break out of the asking loop via Ctrl-C. This is particularly handy for asking questions from the command line, where one expects Ctrl-c to be a sort of "Cancel" operation, and is often functionally equivalent to "no"

File last commit:

r9190:20a102a5
r13609:73441e41
Show More
directview.ipynb
45 lines | 763 B | text/plain | TextLexer
In [ ]:
from directview import interact
from IPython.parallel import Client
In [ ]:
c = Client()
dv = c[:]
In [ ]:
interact(dv)