[IPython-dev] Displaying custom widgets in iPython notebook

Matthias BUSSONNIER bussonniermatthias at gmail.com
Mon Jul 29 20:29:46 EDT 2013


Le 30 juil. 2013 à 02:20, Andrey Fedorov a écrit :

> I'm dealing with a bit of an interesting use-case, where non-programmers are using the iPython notebook to run queries on our production database and interpreting the results.
> 
> In this use case, but also in others, I think it would make sense to create a method similar to __str__, but returning a widget made of HTML/CSS/JS meant to be displayed in a browser, not just text-only output.
> 
> Does it seems appropriate for Python objects to be able to display themselves natively in a browser, perhaps self-contained in an iframe?


This is the point of IPython 2.0 draft to do this in December.
-- 
M


More information about the IPython-dev mailing list