[IPython-dev] Printing HTML within IPython Notebook / IPython-specific prettyprint?

Jeffrey Tratner jtratner at gmail.com
Fri May 10 14:35:22 EDT 2013


That was just what I was looking for -- thanks!


On Fri, May 10, 2013 at 2:24 PM, Paul Ivanov <pi at berkeley.edu> wrote:

> Hi Jeff,
>
> I think display is what you want to use for now:
>
>
> from IPython.display import display, HTML
> for x in range(10):
>     display(HTML("<b>" + str(x) + "</b>"))
>
> Jeffrey Tratner, on 2013-05-10 14:01,  wrote:
> > Does this exist now and/or is it planned for the future? If not, any
> > suggestions on how I might go about making this work?
>
> monkey patching print is an interesting idea.
>
>
> --
>                    _
>                   / \
>                 A*   \^   -
>              ,./   _.`\\ / \
>             / ,--.S    \/   \
>            /  `"~,_     \    \
>      __o           ?
>    _ \<,_         /:\
> --(_)/-(_)----.../ | \
> --------------.......J
> Paul Ivanov
> http://pirsquared.org
> _______________________________________________
> 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/20130510/7ab9c035/attachment.html>


More information about the IPython-dev mailing list