{ "cells": [ { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": false }, "outputs": [], "source": [ "import theme\n", "theme.load_style()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# Lesson 2: Introduction to Python\n", "## Using Python in Scientific Computing\n", "\n", "\n", "\n", "\n", "\n", "This lecture by Tim Fuller is licensed under the\n", "Creative Commons Attribution 4.0 International License. All code examples are also licensed under the [MIT license](http://opensource.org/licenses/MIT)." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "This book is intended for students in science/engineering/math and presumes an introductory knowledge of computer programming (be it whatever language). This book *is not* an introduction to computer programming.\n", "\n", "For a complete introduction to IPython Notebooks, see the [IPython Notebook Tutorial](IPython Notebook Tutorial.ipynb)." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "# Topics\n", "\n", "- [What is Python](#what_is) \n", "- [How do I use Python?](#how_to_py)\n", "- [Minimal Python Stack](#minimal_stack)\n", " - [numpy](#minimal_py_numpy)\n", " - [matplotlib](#minimal_py_matplotlib)\n", " - [sympy](#minimal_py_sympy)\n", "- [Dive in to Python](#dive_in_to_py)\n", " - [Variable Assignment](#var_assign)\n", " - [Variable Types](#var_types)\n", " - [Program Flow Control](#prog_flow)\n", " - [Indentation](#indentation)\n", " - [Branching](#branching)\n", " - [Looping](#looping)\n", " - [Functions](#functions)\n", " - [Modules](#modules)\n", " - [Numpy](#numpy)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "# What is Python?[](#top)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "As your read through each section, you will see cells labeled with\n", "\n", "