blob: 24881a8a1f6654216ecb18687c57fe39d7fd0935 [file] [log] [blame]
Guido van Rossumecde7811995-03-28 13:35:14 +00001\chapter{Miscellaneous Services}
Fred Drake55fca541998-02-18 15:21:26 +00002\label{misc}
Guido van Rossumecde7811995-03-28 13:35:14 +00003
4The modules described in this chapter provide miscellaneous services
5that are available in all Python versions. Here's an overview:
6
7\begin{description}
8
9\item[math]
Fred Drake55fca541998-02-18 15:21:26 +000010--- Mathematical functions (\function{sin()} etc.).
Guido van Rossumecde7811995-03-28 13:35:14 +000011
Guido van Rossum8b0927e1998-02-11 22:33:57 +000012\item[cmath]
13--- Mathematical functions for complex numbers.
14
Guido van Rossumecde7811995-03-28 13:35:14 +000015\item[whrandom]
Guido van Rossum571391b1997-04-03 22:41:49 +000016--- Floating point pseudo-random number generator.
17
18\item[random]
19--- Generate pseudo-random numbers with various common distributions.
20
Guido van Rossumecde7811995-03-28 13:35:14 +000021\item[array]
22--- Efficient arrays of uniformly typed numeric values.
23
Fred Drakec48b7721998-04-11 04:22:02 +000024\item[fileinput]
25--- Perl-like iteration over lines from multiple input streams, with
26``save in place'' capability.
27
Guido van Rossumecde7811995-03-28 13:35:14 +000028\end{description}