Lesson 2 - Famliarize yourself with notebooks

Notebooks are the new cool technology that enables you to write and execute programs in the browser. They are the interface to all DataCabinet projects. We use extensions for various things that can be enabled(for eg for grading or for presentations) but notebooks are at the base of everything. They are easy to use. Lets get some notebook basics right.

Hello World

  • Run New -> getstarted on the notebook
Run
  • Put the Hello World code in the first line and hit "Run"
Run
  • You can reset jupyter by using the square button
Reset notebook

Cells

  • Add/Remove cells
  • Markdown cells
  • Run cells in any order

Kernels

  • Run a kernel
  • Restart/Interrupt a kernel
  • Read more about kernels: Kernels