Scipy, and Numpy, provide a host of functions for performing statistical calculations. This article will describe ways of performing a few simple statistical calculations, as an introduction to using Scipy.

This article describes a recipe for producing html documentation for python code in a single file using reST, docutils, cog and paver. reST is used to write the documentation in plain text, cog is used to run the code and insert the results into the documentation, pygments is used to provide syntax highlighting, docutils is used to produce the html and paver is used to automate the process.