Difference between revisions of "Python"
From Chemical Engineering @ UP wiki
m (EPD link) |
|||
Line 8: | Line 8: | ||
* Windows: [ftp://ftp.ee.up.ac.za/pub/windows/maths/Python(x,y)-2.7.2.2.exe Python(x,y)] supplies a full scientific programming environment. | * Windows: [ftp://ftp.ee.up.ac.za/pub/windows/maths/Python(x,y)-2.7.2.2.exe Python(x,y)] supplies a full scientific programming environment. | ||
* Linux: Install python along with Matplotlib and Numpy/Scipy | * Linux: Install python along with Matplotlib and Numpy/Scipy | ||
− | * Mac: Use the [Enthought Python Distribution] | + | * Mac: Use the [http://www.enthought.com/products/epd.php Enthought Python Distribution] |
=== Scientific computing === | === Scientific computing === |
Revision as of 16:00, 26 June 2012
Python
Python is a popular scripting language. It is on the top 10 of the TIOBE index, and is often used in scientific programming outside of the major commercial platforms like Matlab or Mathematica.
- Check out the Python website for more information
Installation
- Windows: Python(x,y) supplies a full scientific programming environment.
- Linux: Install python along with Matplotlib and Numpy/Scipy
- Mac: Use the Enthought Python Distribution
Scientific computing
Numeric calculations are done using the NumPy or SciPy modules. Here is a handy starting point for someone used to Matlab/Octave to get into NumpPy/Scipy.
Plotting is done using the matplotlib library. The website contains documentation as well as a large gallery of examples.
The SciPy website also has a lot of examples in their Cookbook. Topical ones include