-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JN 7 execute, get notebook name, save from within a notebook #7293
Comments
Thank you for opening this issue @liquidcarbon, as mentioned in the issues you have linked to. Have you tried the suggestions in #6949 (comment)? |
Hi, thanks for your response! Or is it as simple as replacing |
No problem @liquidcarbon! You will likely need to add more than just the |
Thanks @RRosio ! This works when you start jupyter-lab with
But I'm still unclear how to get the name of the running notebook.
But you can't seem to be able to move variables easily between python and JS like you could in old JN. Here's one option via ipylab: jupyterlab/jupyterlab#13020 (comment) Appreciate any pointers! |
Answered in jtpio/ipylab#139
|
Problem
Hello, I used to run the following in notebook 6.5:
The running part worked well, the saving part never properly worked.
But now I understand the
Jupyter
javascript global is gone, so I'm gettingJavascript Error: Jupyter is not defined
How do I run and save from within a notebook? Ideally, my last cell is "publish" (via nbconvert or quarto) and the notebook is saved right before then. What's the proper way to do this now?
Additional context
#7225
#6949
#6394
The text was updated successfully, but these errors were encountered: