Live data from Hacker News

Nbterm: Jupyter Notebooks in the Terminal

blog.jupyter.org

1–10 of 76 posts

Re: Nbterm: Jupyter Notebooks in the Terminal

#2
The web interface was the main reason I never really used the tool for more than a few test runs. Writing code in the browser combines bad usability and performance with a lack of useful dev tools.

Which brings me to the question whether I can edit the code in a text editor as well or I have to write it as shown in the animation. It would be really helpful if there was a shortcut to open the current (code) section in $EDITOR, kind of like Git and other tools do it.

Re: Nbterm: Jupyter Notebooks in the Terminal

#5
VS Code has been making progress to support Jupyter notebooks (https://code.visualstudio.com/docs/python/jupyter-support), but it's not quite there yet. Code completion works, but other features such as user snippets are missing, and it can be quite laggy. Apparently that's because the VS Code team has to reimplement a lot of stuff for Jupyter specifically (compared to adding support for Rust or Go with a language server).

Re: Nbterm: Jupyter Notebooks in the Terminal

#7

The web interface was the main reason I never really used the tool for more than a few test runs. Writing code in the browser combines bad usability and performance with a lack of useful dev tools. Which brings me to the question whether I can edit the code in a text editor as well or I have to write it as shown in the animation. It would be really helpful if there was a shortcut to open the current (code) section in…

I used nteract which is like a bit like a notepad for ipnyb files. It is not great software, but it works.

Re: Nbterm: Jupyter Notebooks in the Terminal

#8

The web interface was the main reason I never really used the tool for more than a few test runs. Writing code in the browser combines bad usability and performance with a lack of useful dev tools. Which brings me to the question whether I can edit the code in a text editor as well or I have to write it as shown in the animation. It would be really helpful if there was a shortcut to open the current (code) section in…

One way I've been exploring, is to use nbconvert [1] to convert notebooks to python scripts and back.

[1] https://nbconvert.readthedocs.io/en/latest/index.html

Re: Nbterm: Jupyter Notebooks in the Terminal

#9
Ok, I failed in basic usage: Entering nbterm, I assumed some standard key bindings -- None seemed to work. Neither Ctrl-C, Ctrl-D, Ctrl-x ctrl-c, escape q, escape :q, ... seems to work. So off to google: Escape Ctrl-q should work. But does not.

Ok I'm stuck, let's at least get 1+1 to work. So entering 1+1 and .. hitting Enter? Shift Enter? No. Ok, command mode, Ctrl E.. aaaaand it's stuck.

Looks nice but I just don't seem to get it to work using anaconda on macos..

Re: Nbterm: Jupyter Notebooks in the Terminal

#10

The web interface was the main reason I never really used the tool for more than a few test runs. Writing code in the browser combines bad usability and performance with a lack of useful dev tools. Which brings me to the question whether I can edit the code in a text editor as well or I have to write it as shown in the animation. It would be really helpful if there was a shortcut to open the current (code) section in…

Vscode and intelij both have had good support for notebook for a long time. For the web interface there maybe even extension to add intellisense to it or smt
Post reply on HN