Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to show a console in a Jupyter notebook?

I would like to be able to fiddle around in the environment using a console in a Jupyter notebook. Adding an additional cell means that I always have to scroll to the very bottom or create new cells wherever I want a 'console-like' text field. Is it possible to have a permanent console window, e.g. at the bottom of the window?

Thanks!

like image 505
Danderssen Avatar asked Apr 10 '17 10:04

Danderssen


People also ask

Is there a console in Jupyter Notebook?

To open a console panel, right-click a notebook and select "New console for notebook". JupyterLab supports action run-in-console which sends the current statement or selected text to console panel for execution.

How do I run a Jupyter Notebook console?

3.1. 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.

How do I display output in Jupyter?

Jupyter Notebook can print the output of each cell just below the cell. When you have a lot of output you can reduce the amount of space it takes up by clicking on the left side panel of the output. This will turn the output into a scrolling window.


1 Answers

You can fire up a Jupyter qt console that is connected to the same IPython kernel http://jupyter-notebook.readthedocs.io/en/latest/examples/Notebook/Connecting%20with%20the%20Qt%20Console.html

like image 129
Vince W. Avatar answered Sep 21 '22 17:09

Vince W.