blob: 24881a8a1f6654216ecb18687c57fe39d7fd0935 [file] [log] [blame]
\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.
\end{description}