JupyterLab: Run all cells below
up vote
2
down vote
favorite
In the Jupyter Notebook I could use the following command to automatically execute all cells below the current cell.
from IPython.display import Javascript
display(Javascript('IPython.notebook.execute_cells_below()'))
However, this doesn't seem to work with JupyterLab. How can I make this work for JupyterLab?
(I want to automatically execute all cells below after a button click occured. The original code for this was posted here: IPython - Run all cells below from a widget)
python python-3.x jupyter-lab
add a comment |
up vote
2
down vote
favorite
In the Jupyter Notebook I could use the following command to automatically execute all cells below the current cell.
from IPython.display import Javascript
display(Javascript('IPython.notebook.execute_cells_below()'))
However, this doesn't seem to work with JupyterLab. How can I make this work for JupyterLab?
(I want to automatically execute all cells below after a button click occured. The original code for this was posted here: IPython - Run all cells below from a widget)
python python-3.x jupyter-lab
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
In the Jupyter Notebook I could use the following command to automatically execute all cells below the current cell.
from IPython.display import Javascript
display(Javascript('IPython.notebook.execute_cells_below()'))
However, this doesn't seem to work with JupyterLab. How can I make this work for JupyterLab?
(I want to automatically execute all cells below after a button click occured. The original code for this was posted here: IPython - Run all cells below from a widget)
python python-3.x jupyter-lab
In the Jupyter Notebook I could use the following command to automatically execute all cells below the current cell.
from IPython.display import Javascript
display(Javascript('IPython.notebook.execute_cells_below()'))
However, this doesn't seem to work with JupyterLab. How can I make this work for JupyterLab?
(I want to automatically execute all cells below after a button click occured. The original code for this was posted here: IPython - Run all cells below from a widget)
python python-3.x jupyter-lab
python python-3.x jupyter-lab
edited Nov 8 at 20:03
asked Nov 8 at 19:14
Markus Gutbrod
112
112
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
2
down vote
It is built-in. Click the run menu at the top-left and select "Run Selected Cell and All Below".
1
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
It is built-in. Click the run menu at the top-left and select "Run Selected Cell and All Below".
1
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
add a comment |
up vote
2
down vote
It is built-in. Click the run menu at the top-left and select "Run Selected Cell and All Below".
1
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
add a comment |
up vote
2
down vote
up vote
2
down vote
It is built-in. Click the run menu at the top-left and select "Run Selected Cell and All Below".
It is built-in. Click the run menu at the top-left and select "Run Selected Cell and All Below".
answered Nov 8 at 19:15
Francio Rodrigues
5911716
5911716
1
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
add a comment |
1
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
1
1
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Yeah, I know that, but I want to do it automatically on certain events (e.g. button clicked) like in stackoverflow.com/questions/32714783/…
– Markus Gutbrod
Nov 8 at 19:39
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Oh I see...I misunderstood the question. The issue is probably related to the fact that JavaScript execution was limited in JupyterLab(github.com/jupyterlab/jupyterlab/issues/3748). Maybe this extension can help you out github.com/jupyterlab/jupyterlab/tree/master/packages/…
– Francio Rodrigues
Nov 9 at 10:33
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
Humm...It seems they re-enabled javascript execution in v0.33(jupyterlab.readthedocs.io/en/stable/getting_started/…). I am not sure what the issue is then.
– Francio Rodrigues
Nov 9 at 10:38
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53214644%2fjupyterlab-run-all-cells-below%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown