How do I reset the Jupyter/IPython input prompt numbering?
问题 I just wrote my first extensive Python tutorial using IPython notebooks. All went well, except I did a lot of testing and moving blocks around. How do I reset the In [ ]: numbering? I have tried quitting and reloading, but that doesn't seem to work. 回答1: I think, the only way to to what you want is: - 'Kernel > Restart' (restart the kernel) and then 'Cell > Run All' (run the script). 回答2: You can reset the kernel (shortcut: C-m . ) and re-run the whole notebook. Quitting and reloading doesn't