How do I get the current IPython / Jupyter Notebook name? #6614
-
How do I get the current IPython / Jupyter Notebook name? There is a lot of ways to get it under Jupyter Notebook/Lab/VS Code/… see How do I get the current IPython / Jupyter Notebook name. But none of them works with cocalc. :( Probably better will be adding support for that to ipynbname or ipyparams, but first we should fix some public JS API for that. |
Beta Was this translation helpful? Give feedback.
Answered by
williamstein
Apr 5, 2023
Replies: 1 comment 4 replies
-
I think what you are asking for is currently not possible in cocalc. That said, I was working on very relevant nearby code this week, so I bet I can implement it in a few minutes. See #6615 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should definitely patch ipynbname to support cocalc if you want.
In any case, just look at all the env vars that start with COCALC and you'll answer your own question above.