[IPython-dev] Notebook: Interacting with JavaScript Values

Brian Granger ellisonbg at gmail.com
Thu May 10 13:33:52 EDT 2012


On Thu, May 10, 2012 at 6:18 AM, Carl Smith <carl.input at gmail.com> wrote:
> Thanks Brian. I've been playing with the new code. The notebook's really
> cool. Thanks again.

Great, keep us posted on how it goes.

Cheers,

Brian

> On May 7, 2012 5:42 PM, "Brian Granger" <ellisonbg at gmail.com> wrote:
>>
>> We don't support accessing Javascript values from Python.  Here is a
>> rough sketch of what we will soon support (under review):
>>
>> * You can write Python objects that generate JavaScript code.
>> * That JavaScript code can create widgets and UI elements on the notebook
>> page.
>> * That JavaScript code can execute further Python code by calling the
>> IPython kernel.  In those calls it can pass the values of JavaScript
>> variables.
>>
>> Here is the pull request where this work is going on:
>>
>> https://github.com/ipython/ipython/pull/1697
>>
>> Cheers,
>>
>> Brian
>>
>> On Sat, May 5, 2012 at 12:48 PM, Carl Smith <carl.input at gmail.com> wrote:
>> > Hi all
>> >
>> > I heard that there was some work done to enable accessing JS values
>> > within the Notebook. I'm just trying some stuff with Chrome extensions
>> > and wondered if anyone could offer any input on stuff I might want to
>> > look at.
>> >
>> > Thanks
>> >
>> > P.S. The notebook is awesome.
>> > _______________________________________________
>> > IPython-dev mailing list
>> > IPython-dev at scipy.org
>> > http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>>
>> --
>> Brian E. Granger
>> Cal Poly State University, San Luis Obispo
>> bgranger at calpoly.edu and ellisonbg at gmail.com
>> _______________________________________________
>> 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
>



-- 
Brian E. Granger
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu and ellisonbg at gmail.com



More information about the IPython-dev mailing list