[IPython-User] carriage return in ipython notebook?
Mon Apr 9 17:24:59 CDT 2012
On Mon, Apr 9, 2012 at 14:46, mqk <firstname.lastname@example.org> wrote:
> Hi MinRK
> Thanks for your response. I did come across your working example, but I
> don't like it. :) The repeated clearing of the output results in a
> strobe-like appearance for me, and of course it also erases any previous
> output that is unrelated to the progress bar. Oh well.
The strobe complaint is common, and actually fixed in an outstanding
You can selectively clear stdout/stderr/pyout, but not subsets of each of
those. That said, if you want the notebook to be a terminal emulator, you
don't actually want the notebook. For instance, a more natural progress
bar' since receiving your email:
divid = str(uuid.uuid4())
<div style="border: 1px solid black; width:500px">
<div id="%s" style="background-color:blue; width:0%%"> </div>
""" % divid)
for i in range(1,101):
It does require using my `clear_output` branch, pending as PR
to avoid some ugliness.
> View this message in context:
> Sent from the IPython - User mailing list archive at Nabble.com.
> IPython-User mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-User