[IPython-dev] Real-time console output in notebooks

Thomas Kluyver takowl at gmail.com
Wed Sep 24 13:48:40 EDT 2014


I see real time output if I put the text below in a file and run !bash
slowloop.sh

for i in `seq 1 10`; do
    sleep 1
    echo $i
done


On 23 September 2014 23:06, Kenneth Tran <one at kentran.net> wrote:

> Is it possible to see real-time output of a system command? It seems that
> while IPython shows real-time output, IPython notebook doesn't. Or am I
> doing anything wrong?
>
> Which leads to another point. I recently tried to compile with !bang in a
> notebook. It got hang indefinitely.
>
> Then I ssh to the machine and do the same thing (cd to a directory and
> call make) and this one finished rather quickly, albeit with some errors.
>
> Is there any explanation for why the command in the notebook didn't
> terminate?
>
> Thanks.
> -Ken
>
> _______________________________________________
> 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/20140924/0f905221/attachment.html>


More information about the IPython-dev mailing list