如何选择ipython笔记本中的每个单元格? [英] How can I select every cell in an ipython notebook?

查看:63
本文介绍了如何选择ipython笔记本中的每个单元格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这很有用,因为我经常想在笔记本电脑的每个单元格上使用内置的查找和替换"工具;因为此工具仅适用于选定的单元格(通常只是当前"单元格),所以如果我可以快速选择所有的单元格,它将很有用.

This would be useful because I often want to use the builtin "Find and Replace" tool on every cell in the notebook; because this tool only works on selected cells (which, usually, is just the "current" cell), it would be useful if I could quickly select all of them.

为清楚起见,我想在"命令模式"中选择单元格;我不是要突出显示所有文本.在我的笔记本电脑上, Cmd + A 只会突出显示所有文本.

To be clear, I want to select the cells in "command mode"; I'm not talking about highlighting all the text. On my laptop, Cmd+A just highlights all the text.

也许某些随机插件可以解决问题?

Maybe some random plugin can do the trick?

推荐答案

只需单击替换选定的单元格"切换,您就可以使用查找和替换"工具一次对每个单元格进行操作.它应该在查找"框的左侧:

You can get the "Find and Replace" tool to work on every cell at once just by clicking on the "Replace in selected cells" toggle. It should be just to the left of the "find" box:

这篇关于如何选择ipython笔记本中的每个单元格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆