如何重置Jupyter / IPython输入提示编号? [英] How do I reset the Jupyter/IPython input prompt numbering?
本文介绍了如何重置Jupyter / IPython输入提示编号?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我刚刚使用IPython笔记本编写了我的第一篇广泛的Python教程。一切顺利,除了我做了很多测试和移动块。如何重置在[]:
编号?我试过戒烟和重装,但这似乎不起作用。
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.
推荐答案
我认为,唯一的方法是什么你想要的是:
- 'Kernel> Restart'(重启内核)然后'Cell> Run All'(运行脚本)。
I think, the only way to to what you want is: - 'Kernel > Restart' (restart the kernel) and then 'Cell > Run All' (run the script).
这篇关于如何重置Jupyter / IPython输入提示编号?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文