I'd like to programmatically exit a cell early in IPython Notebook. exit(0)
, however, kills the kernel.
Whats the proper way to do this? I'd prefer not to split the cell or manually halt execution.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…