python -m jupyter notebook # Make some notes/article titlepython -m jupyter notebook # Make some notes/article body python -m jupyter notebook # Make some notes/article title Some extra features you can enable are as follows:
- Translate
- Colorize
- Expand/Collapse
Plenty of different screens available, from interactive spreadsheets to well written journal articles.
Contribute
Contributions are always welcome, no matter how small. For example, to follow this guide to integrate an IPython Notebook, you can run one of the following commands. You can also follow these directions to start your own Jupyter Notebook. For an example IPython Notebook, you can follow these instructions. If you’re looking for IPython coding style, you can use the pythoninterp command.
To contribute improvements, you can create a Pull Request or open an issue. For most Jupyter Notebooks, you can just open an issue or create a Pull Request. But it is still always more efficient to create a Pull Request. In the branch labeled ’Custom, you can add your own changes in the topic area’.
Debug
You can view the output of the notebook at the top of the browser window using Tools ’ Console. See the following screenshot for a sample of the output:
The output is formatted in HTML, and it is displayed as a table. You can also use Jupyter Console to print the logs. To see logs from the previous example, please read the Jupyter Console documentation. The next screenshot shows the output as a table:
You can also type into the output area to see what notebook the current input comes from. For example, to see all running notebooks, type the following into the console:
print notebook 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 >>> import numpy >>> import matplotlib.pyplot as plt >>> import time >>> from numpy import array >>> from matplotlib import pyplot as plt >>> from jupyter.kernel import NN >>> _ = NN ( 10 ) >>> pyplot. pyplot ( time. time, array [ 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
Figure 1 – Running Jupyter Notebooks
The first step is to check if you have any open notebooks or running notebooks. Press Ctrl-C to quit. On Windows, this will close the whole Jupyter Notebook interface and all Notebooks will be closed automatically. This is only temporary and you can always re-open them with Ctrl-Alt-Backspace.
If you have multiple Jupyter Notebooks, it’s likely that the notebook name that you used to execute this command will be different from the name of the actual notebook. You can simply look for the notebook that you created earlier by locating it in your files list or as shown in the following screenshot.
Figure 2 – Checking the current folder containing your Jupyter Notebooks
To view all notebooks, use the following command:
Figure 3 – Viewing the list of notebooks in your current directory
Notebooks can be closed by clicking on the circle next to their name. Open, save, and exit notebooks are also available. The commands that you can execute in Jupyter Notebooks to open, save, and close notebooks are as follows:
- new file : Open the file in a new Jupyter Notebook.
- Open the file in a new Jupyter Notebook. close : Close a Jupyter Notebook.
- Close a Jupyter Notebook. save: Save the currently open notebook to disk.
- save – name : Save the currently open notebook to disk, renaming it to name.
- Save the currently open notebook to disk, renaming it to. open : Open the currently open notebook in a new window.
- Open the currently open notebook in a new window. save – name : Save the currently open notebook to disk, renaming it to name.
- Save the currently open notebook to disk, renaming it to. quit : Close a Jupyter Notebook. : Close a Jupyter Notebook.
Read the documentation for additional information about the Jupyter Notebook, including usage instructions and the advantage of using Jupyter Notebooks for research.
6.6. Jupyter Notebook on Solaris
Jupyter Notebook is supported on Solaris under the following conditions: The base Jupyter Notebook JRE is released under the following license: Apache License 2.0 Jupyter Notebook uses the GNU Scientific Library, so the GNU Scientific Library must be installed on Solaris. In addition, the GNU Scientific Library must be able to load binary libraries. This can be accomplished with the following command: % ls libs Make sure you have gcc and the GNU Scientific Library version 2.28.3 or higher. A detailed install guide can be found in the instructions below. The GNU Scientific Library is built and tested in either Linux/Cygwin or Windows. The installation procedure is similar for both environments, so it is important that you follow the same procedure to ensure that your environment is identical. It’s possible that installing the GNU Scientific Library in Solaris will produce an error when installing in another architecture, but this is very rare. On Windows, the following must be used: % wget http://software.opensuse.org/packages/q/latest/libosun.zip