JupyterLab Basic Usage Tutorial

JupyterLab Basic Usage Tutorial1. Supported browsers2. Start JupyterLab3. Interface Introduction4. Program running5. Common shortcut keysVI. Plugin installation

1. Supported browsers

The latest versions of the following browsers are known to work properly:

Older browser versions may also work, but there is no guarantee.

2. Start JupyterLab

Use the following command to start JupyterLab, it will automatically open in your browser.

3. Interface Introduction

The JupyterLab interface consists of a main workspace, which contains document and activity tabs, a collapsible left sidebar, and a menu bar. The left sidebar contains the file browser, a list of running kernels and terminals, the command palette, the notebook cell tool inspector, and the tab list.

image.png

The menu bar at the top of JupyterLab has top-level menus that expose the actions available in JupyterLab through their keyboard shortcuts. The default menus are:

JupyterLab extensions can also create new top-level menus in the menu bar.

4. Program running

image.png

image.png

5. Common shortcut keys

1. Edit mode

2. Command mode

VI. Plugin installation

  1. Open the plugin manager in JupyterLab, find Enable and turn it on.

image.png

image.png

After successful opening, some plug-ins will be displayed and provided for installation.

If you need to install a plug-in, you can search for keywords under Search, and then install the corresponding plug-in. Generally, after the installation is complete, you will be prompted to re-Build JupyterLab. This process will be relatively long, and there will be no prompt after success. It is recommended to wait for about 2-3 minutes before re-entering jupyterlab. If there is no prompt Build JupyterLab, it means that the build is successful.

After the plug-in is successfully installed, the installed plug-in and plug-in description will be displayed in INSTALLED.

The examples on the Jupyter Lab official website are richer, and the usage methods and related explanations are also more accurate. Interested friends can enter and study on their own. Students who are not good at English need to bring their own translation software. The author uses Google Translate, which comes with Google Chrome. Official website: Jupyter Lab

https://jupyterlab.readthedocs.io/en/latest/user/interface.html