![]() This should always be up-to-date and more useful then if I were to list out the items myself. Once you have created it, you should see a new tab named "Untitled.ipynb" like this:įor a full list of file types that are supported by JupyterLab, I recommend checking out the documentation. You will have Python 2 or Python 3 by default. Let's create a Notebook inside of our JupyterLab instance. Here is an example of resetting the default workspace: When you reset a workspace, you are clearing it of its contents. You can also reset a workspace using the reset URL parameter. If you want to copy the test workspace into your default workspace, the URL would look like this: This will copy your current workspace into a workspace named test. If you would like to clone your workspace, you can use the following format: ![]() The default workspace doesn't have a name, but it can be found at /lab. If you were to try this out, you would see the normal Jupyter Notebook interface instead of seeing the Notebook inside of JupyterLab. Here is an example URL using an untitled Notebook: However JupyterLab has also added the ability to manage workspaces and file navigation via URLs.įor example, if you want to use file navigation, you can use the special keyword tree to do so. Just click the folder icon to make the tree collapse so that the tab can fill the browser:Īs with Jupyter Notebook, JupyterLab allows users to copy URLS into the browser to open a specific Notebook or file. It shows you the files that are available to you from the location that you launched JupyterLab from. The tree on the left is known as the File Browser. Let's you export your Notebook to a different format, such as PDF, Markdown, etcĮxplore the menu and see what else you can find. Let's you save the currently selected Notebook with a new filename Open From Path - Open a document from a path other than the one you started in.There are some new entries here that are specific to JupyterLab however. Most of the menu items should be familiar to you if you have used Jupyter Notebook. Just go to **File** -> **New** and then choose the type of item you would like to create. You can also create new items by using the **Menu** that runs along the top of the screen. When I ran either of these commands, I got the following initial web application: You can use either jupyter-lab or jupyter lab to run it. Now that we have JupyterLab installed, we should try running it. Note that calling the shell command is required if you want to launch JupyterLab from within the virtualenv that you installed it into. ![]() If you happen to have it installed, then you can use the following two commands to get JupyterLab: The pipenv tool is a new package that can be used to create a Python virtual environment and download a package into it. Note: If you are using pip install -user, then you will need to add the user-level "bin" directory to your PATH environment variable to be able to launch jupyterlab. If you prefer using Python's native installer, pip, then this is the command you want: If you are an Anaconda user, then you can use conda for installation purposes by using the following command: You can use conda, pip or pipenv to install JupyterLab. ![]() This includes theming support, file editors and more. ![]() You can add new behavior to your JupyterLab instance via extensions. You can also display rich output from these formats using various visualizations or Markdown.įor navigation, you can use customizable keyboard shortcuts or key maps from vim, emacs and even SublimeText. JupyterLab will allow you to view and handle multiple types of data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |