[IPython-dev] brythonmagic

Kiko kikocorreoso at gmail.com
Sun Mar 16 18:18:22 EDT 2014


2014-03-03 23:48 GMT+01:00 Thomas Kluyver <takowl at gmail.com>:

> Hi Kiko,
>
> On 3 March 2014 14:05, Kiko <kikocorreoso at gmail.com> wrote:
>
>> Right now my brython.js is a slight modification of the official brython
>> release. Right now it is just a proof of concept. If it is interesting (I
>> think it is) for the IPython community I can PR my modifications to the
>> official brython repo and then you can use brython.js from a cdn or from
>> the official brython site (brython.info) so it wouldn't be necessary to
>> load the js libs locally.
>>
>
> I think it's interesting, and if you think the changes are likely to be
> accepted back into Brython, go for it.
>
>
Hi all. Now, brythonmagic uses the official brython js files from the
official Brython repo (my modifications have been merged).

I would like to know the best way to load the required js libs. I know
IPython uses requirejs but I am not experienced with it.
Is it a good way to load the required js libs as I do? See code cell [3]
here:
http://nbviewer.ipython.org/github/kikocorreoso/brythonmagic/blob/master/Brython%20usage%20in%20the%20IPython%20notebook.ipynb?create=1#brythonmagic-installation,

or is there a better and more elegant way?

BTW, thanks Paul and Thomas.


> Best wishes,
> Thomas
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140316/52f7f09c/attachment.html>


More information about the IPython-dev mailing list