Overview of Jupyter Lab

Jupyter Lab is a wrapper around Jupyter Notebook to explore and learn Python in interactive fashion. Let us understand how we can create Jupyter Notebook using Jupyter Lab.

  • Relationship between Jupyter Notebook and iPython

  • Naming Standards

  • Managing Cells

  • Cell Types

  • Getting help using Jupyter Cells

Tasks

Let’s perform tasks to understand Jupyter Notebook environment better.

  • Create Jupyter Notebook by name Getting Started

  • View classic Jupyter Notebook

  • Launch Terminal (applicable for Linux or Mac based systems on which Jupyter is setup)

  • Import python_version from platform

  • Get help on python_version as part of the cell

  • Create cell and write the code to get the version of Python.

from platform import python_version
print(python_version())
from platform import python_version
python_version?
Signature: python_version()
Docstring:
Returns the Python version as string 'major.minor.patchlevel'

Note that unlike the Python sys.version, the returned value
will always include the patchlevel (it defaults to 0).
File:      /opt/anaconda3/envs/beakerx/lib/python3.6/platform.py
Type:      function
print(python_version())
3.6.12