From UW-Math Wiki
Revision as of 17:18, 27 January 2015 by Dynerman (talk | contribs) (→‎Homework #1)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Getting started with Python/Numpy/SciPy

Follow the instructions here:

 For now you can disregard the sections on Shell and Git, just focusing on Python and an Editor

A short summary of these instructions:

1. You'll need to install Python on your machine. We recommend the Anaconda python distribution:

During installation, make Anaconda your default Python installation (unless you have some reason not to do this).

2. You'll need a text editor to write Python in. Any text editor will work, but an editor that highlights Python keywords is handy, such as Text Wrangler or Sublime Text.

First steps

Once Python is installed, you're ready to get started! Open up a command line prompt (e.g. Command Prompt on Windows, Terminal on OS X) and type


to start an interactive Python shell. You can begin entering Python commands and manipulating variables immediately.

If you have no prior programming experience, I recommend you work through the Beginner Python tutorials below using ipython: as you read, type the commands into ipython. This will help you get a feel for what's happening.

Beginner Guide

Intermediate Guide

Additional Resources

Homework #1

Download square.mat