Introduction
In this article, I will demonstrate how we run and share Azure Notebooks. Azure Notebooks is available as a free service for all developers so that they can run code in the local browser using Jupyter.
Install
Jupyter
JupyterLab is the new generation of Notebook interface, web-based interactive development. The main advantage is that code and data are flexible to use, arrange, and configure.
Before starting, we should understand the difference between JupyterLab and Jupyter Notebook.
JupyterLab is the next-generation user interface including Notebooks. It has a modular structure where you can open several Notebooks or files (for example - HTML, Text, Markdowns, etc) as tabs in the same window. It offers much more of an IDE-like experience.
For a beginner, I would suggest starting with Jupyter Notebook as it just consists of a file browser and a (Notebook) editor view. It might be easier to use. If you want more features, switch to JupyterLab. JupyterLab offers much more features and an enhanced interface, which can be extended through extensions: JupyterLab Extensions (GitHub).
Install JupyterLab
You can run Jupyter on localhost in your browser or by installing JupyterLab on localhost,
- Using conda
conda install -c conda-forge jupyterlab
- Using pip
pip install jupyterlab
Jupyter runs code in many programming languages, for that install JupyterLab or Notebook to install Python 3.3 or greater
Install Jupyter Notebook
- Using Conda
conda install -c conda-forge jupyterlab
- Using pip
pip install jupyterlab
Jupyter Notebook needs Python 3.3 or greater.
Anaconda Distribution strongly recommends using a Python, Jupyter Netbook, and other packages.
Create New Project
First, go to this link to create a new project.
Now, enter your project details.
- Project Name: Hello world
- Project ID: hello-world
- Public project: cleared
- README.md: cleared
Create a new notebook,
- Notebook name: notebookProject
- Language: Python with the latest version
And, the project appears in the dashboard.
Run the notebook
Chose your project and click to open it in the Jupyter editor.
Switch back to the project page you can download, edit, delete, shutdown server the project.
Share the Notebook
To share the project, copy the link and you can send it by email.