{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Using a notebook\n", "The purpose of this notebook is to introduce the Jupyter interface. This notebook is a guide to the Jupyter interface and writing code and text in Jupyter notebooks with the _Python_ programming language and _Markdown_, the lightweight markup language.\n", "\n", "_This notebook was originally created for a Digital Mixer session at the [2016 STELLA Unconference](https://stellagroup.wordpress.com/)_" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Cells\n", "---\n", "The basic structure of a Jupyter notebook consists of linear sequence of cells from the top to the bottom of the page. A cell's content can consist of either:\n", "\n", "#### 1. code and code output" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "0\n", "1\n", "2\n", "3\n", "4\n" ] } ], "source": [ "# create a range of numbers\n", "numbers = range(0, 5)\n", "# print out each of the numbers in the range\n", "for number in numbers:\n", " print(number)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "#### 2. Markdown/html" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "### This is a big header written in markdown\n", "#### This is a medium header written in markdown\n", "##### This is a small header written in markdown\n", "This is a paragraph written in markdown\n", "
You can also write with html tags