tar xvzf book-examples-3rd.tar.gzOn Windows, download the zipfile for the 3rd edition and pack it out by
unzip book-examples-3rd.zipThe result is a folder (directory) tree src with subfolders containing the program examples for different chapters in the book. The introduction to each chapter tells the name of the corresponding subfolder in the src tree.
sudo apt-get install python-scitoolsHowever, it is often advantageous to install the latest version of SciTools from googlecode.com/p/scitools. Make sure you have the Mercurial (hg) version control system on your computer (if not, do sudo apt-get install mercurial). Get the SciTools source code and install it by
hg clone https://email@example.com/p/scitools/ cd scitools sudo python setup.py installThe advantage of this method is that you can get SciTools updates (bugfixes, enhancements) whenever you want by going to the scitools folder and running
hg pull hg update sudo python setup.py install
sudo apt-get install python-matplotlib python-scipy python-gnuplot gnuplot gnuplot-x11A comprehensive installation with lots of useful packages can be performed by ascript install_rich.sh that is run by bash install_rich.sh.
Hans Petter Langtangen (firstname.lastname@example.org)