Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the ipython notebook "Terminals" menu option

Tags:

I am running ipython notebook on my OSX machine and/or my ubuntu 14.04 machine. I am using ipython 3.0.0, and ipython (jupyter) notebooks.

When I start an ipython notebook, under New there is a terminal option, but it's unavailable for me. I haven't been able to find any documentation on this feature, how to activate it or what it does. The ipython notebook --help command doesn't mention it and I haven't found anything in the documentation either. I haven't discovered the special keywords to search google for to get any information either.

What does this feature do? How do I activate it? Is there any documentation on this available?

enter image description here

like image 251
Greg Samson Avatar asked Mar 13 '15 23:03

Greg Samson


People also ask

What are terminals in Jupyter Notebook?

JupyterLab terminals provide full support for system shells (bash, tsch, etc.) on Mac/Linux and PowerShell on Windows. You can run anything in your system shell with a terminal, including programs such as vim or emacs.

What is IPython terminal?

IPython is an interactive command-line terminal for Python. It was created by Fernando Perez in 2001. IPython offers an enhanced read-eval-print loop (REPL) environment particularly well adapted to scientific computing. In other words, IPython is a powerful interface to the Python language.

How do I open IPython notebook in terminal?

To launch Jupyter Notebook App: Click on spotlight, type terminal to open a terminal window. Enter the startup folder by typing cd /some_folder_name . Type jupyter notebook to launch the Jupyter Notebook App The notebook interface will appear in a new browser window or tab.


1 Answers

IPython/Jupyter appears to support browser-based interactive terminal sessions. This is enabled on my machine by installing the terminado package with pip or conda. This fixes the "Terminals Unavailable" message on the drop-down, and lets me start up a (bash) terminal session in a new tab.

See this commit: IPython on GitHub

like image 56
Brendan Smithyman Avatar answered Sep 16 '22 19:09

Brendan Smithyman