Table of Contents
- Python Bootcamp
- Installing Python
- Basic Data Types
- Using Functions and Modules
- Modules, Scripts, Packages and Classes
- Using NumPy
- Graphing with MatPlotLib
- Using Scipy
- Statistics in Python with R
- Working With Python
- Using Python and FORTRAN with F2py
- Extending python with C/C++ using SWIG
- Speeding up Python with Cython
- Python/C Extension: PyTables
- Python/C Extension: PyTAPS
- Creating IRC and Email Bots
- Web Development: An introduction to Django
- GIS and Hardware Interface Example
- Advanced Python
- Making GUI's with WxPython
- Batteries Included - The Python Standard Library
Installing Scientific Python on Linux
Distributions
Debian Lenny
su - aptitude install ipython python-numpy python-numpy-doc python-numpy-ext python-numpy-dev python-matplotlib python-matplotlib-data python-matplotlib-doc python-scipy mayavi2 python-setuptools r-base idle easy_install rpy2
Fedora 12
su - yum install ipython scipy numpy python-basemap python-matplotlib Mayavi python-setuptools-devel R python-tools easy_install rpy2
Gentoo
su - emerge ipython scipy numpy matplotlib mayavi:2 R '>=dev-python/rpy-2' basemap
Ubuntu 9.10
sudo apt-get install ipython python-numpy python-numpy-doc python-numpy-ext python-numpy-dev python-matplotlib python-matplotlib-data python-matplotlib-doc python-scipy mayavi2 python-setuptools r-base python-rpy2 idle
Ubuntu 9.04
sudo apt-get install ipython python-numpy python-numpy-doc python-numpy-ext python-numpy-dev python-matplotlib python-matplotlib-data python-matplotlib-doc python-scipy python-setuptools r-base idle easy_install rpy2
UW-Madison CAE
ssh -X <username>@best-tux.cae.wisc.edu
mkdir rpy2i
wget http://downloads.sourceforge.net/project/rpy/rpy2/2.0.8/rpy2-2.0.8.tar.gz
tar xvzf rpy2-2.0.8.tar.gz
cd rpy2-2.0.8
python setup.py install --root=~/rpy2i
echo 'export PYTHONPATH="${HOME}/rpy2i/usr/lib/python2.5/site-packages/"' >> ~/.bashrc
source ~/.bashrc
Fire up an IPython Shell
At a shell prompt
ipython
Test your installation
Awesome! Proceed to Testing your installation.
Attachments
- ipython_startup.png (15.5 KB) - added by mattm 7 months ago.
- ipython_first_start.png (47.0 KB) - added by mattm 7 months ago.
- ipython_prompt.png (45.9 KB) - added by mattm 7 months ago.
![(please configure the [header_logo] section in trac.ini)](/cgi-bin/hackerwithin.fcgi/chrome/site/thwlogo-small.png)

