1995-03-28 09:35:14 -04:00
|
|
|
\chapter{Miscellaneous Services}
|
1998-02-18 11:21:26 -04:00
|
|
|
\label{misc}
|
1995-03-28 09:35:14 -04:00
|
|
|
|
|
|
|
The modules described in this chapter provide miscellaneous services
|
|
|
|
that are available in all Python versions. Here's an overview:
|
|
|
|
|
|
|
|
\begin{description}
|
|
|
|
|
|
|
|
\item[math]
|
1998-02-18 11:21:26 -04:00
|
|
|
--- Mathematical functions (\function{sin()} etc.).
|
1995-03-28 09:35:14 -04:00
|
|
|
|
1998-02-11 18:33:57 -04:00
|
|
|
\item[cmath]
|
|
|
|
--- Mathematical functions for complex numbers.
|
|
|
|
|
1995-03-28 09:35:14 -04:00
|
|
|
\item[whrandom]
|
1997-04-03 18:41:49 -04:00
|
|
|
--- Floating point pseudo-random number generator.
|
|
|
|
|
|
|
|
\item[random]
|
|
|
|
--- Generate pseudo-random numbers with various common distributions.
|
|
|
|
|
1995-03-28 09:35:14 -04:00
|
|
|
\item[array]
|
|
|
|
--- Efficient arrays of uniformly typed numeric values.
|
|
|
|
|
1998-04-11 01:22:02 -03:00
|
|
|
\item[fileinput]
|
|
|
|
--- Perl-like iteration over lines from multiple input streams, with
|
|
|
|
``save in place'' capability.
|
|
|
|
|
1998-06-28 15:01:59 -03:00
|
|
|
\item[cmd]
|
|
|
|
--- Build line-oriented command interpreters; this is used by module
|
|
|
|
\module{pdb}.
|
|
|
|
|
1995-03-28 09:35:14 -04:00
|
|
|
\end{description}
|