IPython (NOT notebook) on Windows - how to copy to console without mouse?

0

In IPython console (not jupyter notebook, but console launched in CMD/Powershell, Windows 10 with ipython command) - how can I select entire line(s) from history and copy it to the clipboard without touching the mouse? I.e. stuff that in plain python shell is done with Ctrl-A, Ctrl-Ins?

The only way I know now is using mouse to select the most recent row and then right-clicking, which is very inefficient. There are lots of answers involving %paste magic but they are irrelevant here. I need a way to copy using keyboard only. IPython is amazing with colors, introspections and magics, but lack of this trivial copy-paste piece makes it unusable for me. Hope it's there...

Thank you in advance.

Tim

Posted 2019-04-24T15:54:25.100

Reputation: 1

No answers