[IPython-dev] how ipython notebook support widget or applet besides HTML and code?

W Gong wen.g.gong@gmail....
Fri Nov 23 21:04:11 CST 2012


Hi,
I learned ipython notebook a few days ago and like it very much,
To me, IPython Notebook is a new generation of web browser because it
brings exploration and interactivity to user.

One question is how to add widget support (e.g. embed canvas, drawing
board, java applet).

To illustrate my use-case, here is a notebook
<http://dl.dropbox.com/u/54552252/what-is-time.ipynb> that I created to
teach python to 10 yr old kids. To make it more interesting or engaging, I
combine rich text, image,  video with code. In this example, I used HTML()
to embed a javascript clock at the beginning. But how would one do the same
in python?

I have another use-case to embed java applet:
Nobel Physicist - Carl Wieman at U of Colorado - Bolder has a wonderful
science education initiative called
PhET<http://phet.colorado.edu/en/simulations/category/new> which
is to bring virtual lab to science students.
If teachers and students can perform virtual experiment, at the same time,
do calculations in math/physics via sympy and write a lab report, all
within the IPython notebook, it would be a huge boost to our education.

Thanks and cheers,

Wen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20121123/b7a667b2/attachment.html 


More information about the IPython-dev mailing list