Here’s a script <https://gist.github.com/8f22d0bd4978eae94cb4f40e8e611ebe>
that runs some code with execute_interactive and captures various outputs.

-Min
​

On Sun, Jul 2, 2017 at 3:55 AM, Jeff Zhang <[email protected]> wrote:

> I have the same issue that I could not get the output, does anyone have
> solution or sample code for that ? Thanks
>
>
>
> 在 2016年2月23日星期二 UTC+8下午4:46:30,Min RK写道:
>>
>>
>>
>> On Mon, Feb 22, 2016 at 10:48 PM, <[email protected]> wrote:
>>
>>> Hi,
>>> Thanks for the reply.
>>> I tried using pieces of the code, and see that my code gets stuck on
>>> msg = kernel.get_iopub_msg()
>>>
>>
>> You will want to call `client.start_channels()` after creating it, to
>> establish the zmq connections.
>>
>>
>>>
>>> Is this normal?
>>>
>>> Thanks,
>>>
>>> Regards,
>>> Saurabh
>>>
>>> On Monday, February 22, 2016 at 1:04:26 PM UTC-7, Jan Schulz wrote:
>>>>
>>>> Hi,
>>>>
>>>> On 22 February 2016 at 20:54,  <[email protected]> wrote:
>>>> > I have a general question. So if I try to run code using
>>>> jupyter_client, am
>>>> > I running against a running instance of Jupyter, or am I starting an
>>>> > instance everytime I need to run code?
>>>>
>>>> You run it on a kernel which you started (-> `a.start_kernel()`), so
>>>> as long as that kernel is alive, you can run code on it (and the
>>>> previous defined variables/functions) are available.
>>>>
>>>> Best,
>>>>
>>>> Jan
>>>> --
>>>> Jan Schulz
>>>> mail: [email protected]
>>>> web: http://www.katzien.de
>>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Project Jupyter" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jupyter/081e9943-3715-4f5f-ad40-628bddc040c1%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jupyter/081e9943-3715-4f5f-ad40-628bddc040c1%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/3b83bc11-6762-49a4-a659-ba555c7ee7cb%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/3b83bc11-6762-49a4-a659-ba555c7ee7cb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAHNn8BVLGTTq5cfkdVKkEVMOBN_V99xd%2BbD2L_A82yiJ16RT4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to