I am trying to copy cells from one jupyter notebook to another. How this is possible?
There are commonly known keyboard shortcuts such as Ctrl + Shift + - to split the cell, Shift + M to merge multiple cells, and Shift + Down / Up to select the cells below or above the selected one.
This feature has been introduced in Jupyter Notebook 5.0. Use pip install notebook --upgrade
to upgrade to the latest release.
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).
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With