[IPython-User] html from ipython nb

Comer Duncan comer.duncan@gmail....
Fri Feb 24 08:49:53 CST 2012


> A 'stream' cell is a cell displaying stdout or stderr - typically
> things that you've 'print'ed, as opposed to expressions that have been
> displayed because they were at the end of the cell (we call that
> 'pyout').
>
> The javascript code handling it is here:
> https://github.com/ipython/ipython/blob/master/IPython/frontend/html/notebook/static/js/codecell.js#L618
>
> You would need to add a function to translate this type of cell, and
> put a reference to it in the converters dict at line 92 of the script
> (https://gist.github.com/1569580). Have a look at the out_pyout()
> function to see how this should work.

Ok, I'll take a look.  Thanks for the tips.

Comer


More information about the IPython-User mailing list