I don't believe JupyterLab allows this kind of frontend-action triggered from the kernel, at least not at this point. I think you would have to install a jupyterlab plugin to enable the necessary hooks.
On Fri, Nov 30, 2018 at 11:13 AM Florian Wetschoreck < [email protected]> wrote: > Small extension/clarification: > > I want this to work in JupyterLab. (In JupyterNotebook I can just execute > the next cell with Javascript.) > > > > Am Freitag, 30. November 2018 11:10:48 UTC+1 schrieb Florian Wetschoreck: >> >> Hi, >> >> I want to set the input for the next cell and afterwards execute the next >> cell. >> >> Currently, I can write in my Python cell: >> >> get_ipython().set_next_input("print('Hello World')") >> >> >> But this only fills the next input. How can I also execute the next cell >> from my current cell using Python? >> >> Any help is highly appreciated! >> >> Florian >> >> >> >> >> -- > 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/4ed95124-f02a-4ccf-a1c2-de23ce3b2b39%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/4ed95124-f02a-4ccf-a1c2-de23ce3b2b39%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/CAHNn8BUOi%3DN2xw2e9kooMJ0ujtqTJ2957Ej%3DNLRwVgeWSLztkg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
