\chapter{Miscellaneous Services}
\label{misc}

The modules described in this chapter provide miscellaneous services
that are available in all Python versions.  Here's an overview:

\begin{description}

\item[math]
--- Mathematical functions (\function{sin()} etc.).

\item[cmath]
--- Mathematical functions for complex numbers.

\item[whrandom]
--- Floating point pseudo-random number generator.

\item[random]
--- Generate pseudo-random numbers with various common distributions.

\item[array]
--- Efficient arrays of uniformly typed numeric values.

\item[fileinput]
--- Perl-like iteration over lines from multiple input streams, with
``save in place'' capability.

\item[cmd]
--- Build line-oriented command interpreters; this is used by module
\module{pdb}.

\end{description}
