更新时间:2023-01-08 15:50:37
此功能已在 Jupyter Notebook 5.0.使用 pip install notebook --upgrade
升级到最新版本.
This feature has been introduced in Jupyter Notebook 5.0.
Use pip install notebook --upgrade
to upgrade to the latest release.
旧的快捷键C
、V
和X
仅适用于在一个笔记本内复制和粘贴.为了跨选项卡执行此操作,您应该使用 Ctrl-C
和 Ctrl-V
(Cmd-C
和 Cmd-V
在 Mac 上).
The old shortcuts C
, V
and X
work only for copying and pasting inside one notebook. In order to do it across tabs, you should use Ctrl-C
and Ctrl-V
(Cmd-C
and Cmd-V
on Mac).
注意多个单元格:当前(jupyter 6.0.0)在 Mac+chrome 上使用 shift-click 选择单元格然后 cmd-C 不起作用,同时使用键盘与 shift-down-箭头可以!(感谢 drevikovo 指出这一点)
Note on multiple cells: currently (jupyter 6.0.0) on Mac+chrome using shift-click to select the cells then cmd-C does NOT work, while using the keyboard with shift-down-arrow does! (thanks drevicko for pointing this out)