tar xvzf book-examples-4th.tar.gz
On Windows, download book-examples-4th.zip for the 4th edition and pack it out by
unzip book-examples-4th.zip
or double click on the file icon.
The result is a folder (directory)
tree src with subfolders containing
the program examples for different chapters in the book
(formulas, looplist, etc., as explained in the introduction to
each chapter).
You can also directly access the latest version of the example files at GitHub, see the src directory (to download a file, click the Raw button on the right first to get the pure text file in the browser and then right-click to download). To copy the whole repository to your computer, run
git clone https://github.com/hplgit/scipro-primer.git
SciTools.
The package SciTools is freqently referred to and used in the book.
You may want to install SciTools directly from its Mercurial version control
repository. This makes it easy to upgrade the package at any time.
SciTools is hosted at Googlecode.
Make sure you have the Mercurial (hg) version control system
on your computer (if not, do sudo pip install mercurial on Linux or Mac,
and pip install mercurial in a Windows Command Prompt or Power Shell window).
Get the SciTools source code and install it by
hg clone https://langtangen@code.google.com/p/scitools/
cd scitools
sudo python setup.py install
Whenever you want to upgrade the package, just go to the scitools
folder and run the commands
hg pull
hg update
sudo python setup.py install
sudo apt-get install python-matplotlib python-scipy python-gnuplot gnuplot gnuplot-x11 python-scitools
A comprehensive installation with lots of useful packages can be
performed by a Bash script. Download this file (install_rich.sh) and run it by bash install_rich.sh.
tar xvzf book-examples-3rd.tar.gz
On Windows, download book-examples-3rd.zip for the 3rd edition and pack it out by
unzip book-examples-3rd.zip
or double click on the file icon.
The result is a folder (directory)
tree src with subfolders containing
the program examples for different chapters in the book
(formulas, looplist, etc., as explained in the introduction to
each chapter).
You can also directly access the latest version of the example files at GitHub, see the src-3rd directory (to download a file, click the Raw button on the right first to get the pure text file in the browser and then right-click to download). To copy the whole repository to your computer, run
git clone https://github.com/hplgit/scipro-primer.git
You may want to install SciTools directly from its Mercurial version control
repository. This makes it easy to upgrade the package at any time.
SciTools is hosted at Googlecode.
Make sure you have the Mercurial (hg) version control system
on your computer (if not, do sudo pip install mercurial on Linux or Mac,
and pip install mercurial in a Windows Command Prompt or Power Shell window).
Get the SciTools source code and install it by
hg clone https://langtangen@code.google.com/p/scitools/
cd scitools
sudo python setup.py install
Whenever you want to upgrade the package, just go to the scitools
folder and run the commands
hg pull
hg update
sudo python setup.py install
sudo apt-get install python-matplotlib python-scipy python-gnuplot gnuplot gnuplot-x11 python-scitools
A comprehensive installation with lots of useful packages can be
performed by a Bash script. Download this file (install_rich.sh) and run it by bash install_rich.sh.