[IPython-dev] multicell cut-copy-paste in the notebook (working prototype)

Colin Gerber colin.gerber at gmail.com
Mon Apr 28 21:46:34 EDT 2014


Antonio, I got that as well.  I switiched it to:

    IPython.load_extensions('nb-cccp/copy-paste');

and it worked. It would probably also work if you just added "/copy-paste"
to the path of the existing code (I just switched it to be more consistent
with my other extensions)


On Mon, Apr 28, 2014 at 5:09 PM, Antonino Ingargiola <tritemio at gmail.com>wrote:

> Hi Paul,
>
> I've tried running the nb-cccp extension on windows 7 an IPython 2.0 but I
> don't get any new button and this messages in the javascript console:
>
> Failed to load resource: the server responded with a status of 404 (Not
> Found) http://127.0.0.1:8888/nbextensions/nb-cccp.js
>  Uncaught Error: Script error for: nbextensions/nb-cccp
> http://requirejs.org/docs/errors.html#scripterror
> require.js?v=07d7db4d3fd6519996822665e4239282:141
>
>
> Antonio
>
> On Mon, Apr 28, 2014 at 4:17 PM, Paul Ivanov <pi at berkeley.edu> wrote:
>
>> Hey gang,
>>
>> I wrote this up over the weekend, and now have confirmation from
>> a few other IPython developers that the installation instructions
>> are working, so pinging the list in case you've been wanting this
>> functionality and want to start playing with it.
>>
>> https://github.com/ivanov/nb-cccp
>>
>> >From the README:
>>
>> > IPython Notebook Collective Cut-Copy-Paste
>> >
>> > A working prototype for multi-cell cut-copy-paste in the
>> > notebook. This functionality will be in the next version of
>> > IPython, this is just the first stab at an implementation so we
>> > (and you!) can start playing with it.
>>
>>
>> You can install it as an extension and try it out without having
>> to run / update to IPython master (it works in IPython 2.0):
>>
>> cd $(ipython locate)/nbextensions
>> git clone https://github.com/ivanov/nb-cccp
>> echo "require(['nbextensions/nb-cccp'], function (copy_paste) {
>>     copy_paste.load_ipython_extension();
>>     console.log('copy_paste extension loaded');
>>     });" >> $(ipython locate profile)/static/custom/custom.js
>>
>> (I've tweeted this out, if you want to retweet to spread the
>> word: https://twitter.com/ivanov/status/460917106385506306)
>> --
>>                    _
>>                   / \
>>                 A*   \^   -
>>              ,./   _.`\\ / \
>>             / ,--.S    \/   \
>>            /  `"~,_     \    \
>>      __o           ?
>>    _ \<,_         /:\
>> --(_)/-(_)----.../ | \
>> --------------.......J
>> Paul Ivanov
>> http://pirsquared.org
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>


-- 
Thanks,
Colin Gerber
www.colingerber.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140428/a7ec6c96/attachment.html>


More information about the IPython-dev mailing list