{ "cells": [ { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "# IPython: an environment for interactive computing" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Based on [Introduction to IPYthon Notebook by Fernando Perez](http://nbviewer.ipython.org/url/raw.github.com/profjsb/python-bootcamp/master/Lectures/04_IPythonNotebookIntroduction/IPython%20-%20beyond%20plain%20Python.ipynb), minor modifications Hans Fangohr, Sep 2013. Update to Python 3, September 2016.\n", "\n" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "## What is IPython?\n", "\n", "- Short for *I*nteractive *Python*\n", "- A platform for you to *interact* with your code and data\n", "- The *notebook*: a system for *literate computing*\n", " * The combination of narrative, code and results\n", " * Weave your scientific narratives together with your computational process\n", "- Tools for easy parallel computing\n", " * Interact with *many* processes" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "# IPython at the terminal" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "fragment" } }, "source": [ "The basic IPython client: at the terminal, simply type `ipython`:\n", "\n", " $ ipython\n", " Python 3.5.1 |Anaconda 4.0.0 (x86_64)| (default, Dec 7 2015, 11:24:55) \n", " Type \"copyright\", \"credits\" or \"license\" for more information.\n", "\n", " IPython 4.1.2 -- An enhanced Interactive Python.\n", " ? -> Introduction and overview of IPython's features.\n", " %quickref -> Quick reference.\n", " help -> Python's own help system.\n", " object? -> Details about 'object', use 'object??' for extra details.\n", "\n", " In [1]: \n", "\n" ] }, { "cell_type": "markdown", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "# The IPython book\n", "\n", "