AppliedAlgebraCourse: Difference between revisions

From UW-Math Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Getting started with Python/Numpy/SciPy=
=Getting started with Python/Numpy/SciPy=
#. You'll need to install Python on your machine. We recommend the Anaconda python distribution:
1. You'll need to install Python on your machine. We recommend the Anaconda python distribution:
 
   
https://store.continuum.io/cshop/anaconda/
  https://store.continuum.io/cshop/anaconda/


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


#. You'll need a text editor to write Python in. Any text editor will work, but there are ones that highlight Python keywords which is handy.
2. You'll need a text editor to write Python in. Any text editor will work, but there are ones that highlight Python keywords which is handy, such as [http://www.barebones.com/products/textwrangler/ Text Wrangler] or [http://www.sublimetext.com/ Sublime Text].  


==If you've no/minimal programming experience==
==If you've no/minimal programming experience==
Once Python is installed, you're ready to get started! Open up a terminal window and enter
  ipython
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 a Python tutorial using ipython: as you read, run the commands and get a feel for what's happening.


==If you've done some programming==
==If you've done some programming==

Revision as of 22:17, 26 January 2015

Getting started with Python/Numpy/SciPy

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

 https://store.continuum.io/cshop/anaconda/

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 there are ones that highlight Python keywords which is handy, such as Text Wrangler or Sublime Text.

If you've no/minimal programming experience

Once Python is installed, you're ready to get started! Open up a terminal window and enter

 ipython

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 a Python tutorial using ipython: as you read, run the commands and get a feel for what's happening.

If you've done some programming

If you have some programming experience, or once you're comfortable with the information above, please follow through this guide:

http://software-carpentry.org/v5/novice/python/index.html