{ "cells": [ { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## Using Jupyter/IPython for Teaching\n", "\n", "

\n", " \n", " \"CC0\"\n", " \n", "

" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "notes" } }, "source": [ "This notebook is meant to be a slide show.\n", "If it doesn't look like a slide show, you probably have to install [RISE](https://github.com/damianavila/RISE/):\n", "\n", " python3 -m pip install rise --user\n", " python3 -m notebook.nbextensions install --python rise --user\n", " python3 -m notebook.nbextensions enable --python rise --user\n", "\n", "If it doesn't work, you might have to use `python` instead of `python3`.\n", "\n", "After the installation (and after re-loading the Jupyter notebook), you will have a new item in the toolbar which allows you to start the presentation." ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "### What is Jupyter?\n", "\n", "* formerly known as *IPython* (\"interactive Python\")\n", "* an interactive terminal and a browser-based notebook\n", "* https://jupyter.org/" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "* can be used with different programming languages:\n", "\n", " * **Ju**lia (http://julialang.org/)\n", " \n", " * **Pyt**hon (https://www.python.org/)\n", " \n", " * **R** (http://www.r-project.org/)\n", " \n", " * and many others ..." ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "### What's so great about the Jupyter notebook?\n", "\n", "* mix of text, code and results\n", "\n", "* media\n", "\n", " * images, audio, video\n", " \n", " * anything a web browser can display\n", "\n", "* equations" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "subslide" } }, "source": [ "### One notebook, many uses\n", "\n", "* interactive local use\n", "\n", "* static online HTML pages on http://nbviewer.jupyter.org/\n", "\n", "* interactive online use at https://mybinder.org/\n", "\n", "* nbconvert\n", "\n", " * HTML\n", " \n", " * $\\mathrm{\\LaTeX}$ $\\to$ PDF\n", " \n", " * `.py` files\n", " \n", " * ...\n", "\n", "* slide shows!" ] }, { "cell_type": "markdown", "metadata": { "collapsed": true, "slideshow": { "slide_type": "slide" } }, "source": [ "### HTML5 `