Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to copy/paste from IPython Notebook to other apps?

I'm new to Ipython Notebook. I can cut and paste from other apps into my notebooks, but how do I copy/paste code out of notebook into a different app?

I'm accessing a Linux VNC session via Chicken. I can cut/paste with wild abandon between OSX/Linux using both command X/C/V and/or middle mouse button. I can also copy code into IPython notebook. I'm stopped dead in my tracks trying to get code out of IpyNotebook.

Using Notebook's 'Edit/Copy Cell' doesn't work, neither does 'Ctrl-m c'.

I'm running IPython 0.13.1

like image 722
JS. Avatar asked Jul 18 '13 18:07

JS.


1 Answers

You have to select and copy code using normal Ctrl-C Ctrl-V. 'Edit/Copy Cell' is a specific action in javascript that does a little more and that browser security policy prevent us to bind with clipboard.

like image 167
Matt Avatar answered Sep 22 '22 16:09

Matt